diff options
Diffstat (limited to 'fastboot/usb_windows.c')
-rw-r--r-- | fastboot/usb_windows.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fastboot/usb_windows.c b/fastboot/usb_windows.c index f666015..0d13863 100644 --- a/fastboot/usb_windows.c +++ b/fastboot/usb_windows.c @@ -178,7 +178,7 @@ int usb_write(usb_handle* handle, const void* data, int len) { count += written; len -= written; - data += written; + data = (const char *)data + written; if (len == 0) return count; |