aboutsummaryrefslogtreecommitdiffstats
path: root/libs-host
diff options
context:
space:
mode:
Diffstat (limited to 'libs-host')
-rw-r--r--libs-host/hiddata.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs-host/hiddata.c b/libs-host/hiddata.c
index 3e884e8..5424405 100644
--- a/libs-host/hiddata.c
+++ b/libs-host/hiddata.c
@@ -307,7 +307,7 @@ int bytesReceived, maxLen = *len;
*len = bytesReceived;
if(!usesReportIDs){
buffer[-1] = reportNumber; /* add dummy report ID */
- *len++;
+ (*len)++;
}
return 0;
}