From ca0ae22aea2fc52d133043e12e128416267cfef8 Mon Sep 17 00:00:00 2001 From: kalman Date: Mon, 7 May 2018 21:58:01 +0800 Subject: [PATCH] change a parameter of ksproperty --- src/uvc/uvc-wmf.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uvc/uvc-wmf.cc b/src/uvc/uvc-wmf.cc index 2d2e669..2c0ea1e 100644 --- a/src/uvc/uvc-wmf.cc +++ b/src/uvc/uvc-wmf.cc @@ -670,7 +670,7 @@ bool xu_control_query( default: return false; } - check("IKsControl::KsProperty", ks_control->KsProperty((PKSPROPERTY)&node, sizeof(KSP_NODE), data, size, &bytes_received)); + check("IKsControl::KsProperty", ks_control->KsProperty((PKSPROPERTY)&node, sizeof(node), data, size, &bytes_received)); if (bytes_received != size) { throw_error() << "wrong data"; }