[PATCH] hid: Refine initialization of UsageLength in HidP_GetUsages

Aric Stewart aric at codeweavers.com
Thu Dec 8 08:34:02 CST 2016


UsageLength is an In/Out parameter which we cannot simply initialize
to 0 at the top of the function

Signed-off-by: Aric Stewart <aric at codeweavers.com>
---
 dlls/hid/hidp.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-hid-Refine-initialization-of-UsageLength-in-HidP_GetUs.txt
Type: text/x-patch
Size: 859 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20161208/7c3ecf73/attachment.bin>


More information about the wine-patches mailing list