diff options
author | Mark Salyzyn <salyzyn@google.com> | 2014-04-30 14:05:28 -0700 |
---|---|---|
committer | Mark Salyzyn <salyzyn@google.com> | 2014-05-14 08:33:56 -0700 |
commit | 5957c1ffe79b34d8b1859f9f11644d1007193cbc (patch) | |
tree | bbfd389eca213d6aabc3745b1486bc949999bc85 /fastboot/usb_windows.c | |
parent | ab886745bc422e46d811a43043f7f2b2e132c15f (diff) | |
download | system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.zip system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.tar.gz system_core-5957c1ffe79b34d8b1859f9f11644d1007193cbc.tar.bz2 |
fastboot: turn on -Werror
- Deal with a missing initializer issue
- Deal with some -Wunused issues
- Deal with some signed/unsigned issues
- switch to usleep from sleep to facilitate win_sdk compile
Change-Id: I64e32a5b0782aeed9582f489e866173c4df1afbf
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; |