change a parameter of ksproperty

This commit is contained in:
kalman 2018-05-07 21:58:01 +08:00
parent 9988c49060
commit ca0ae22aea

View File

@ -670,7 +670,7 @@ bool xu_control_query(
default: default:
return false; 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) { if (bytes_received != size) {
throw_error() << "wrong data"; throw_error() << "wrong data";
} }