diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2010-06-15 11:29:05 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2010-06-15 11:29:05 -0700 |
commit | ee0306b93386340c86d6ca9f70bd147fba16d901 (patch) | |
tree | 0afd960addab3f4c6c8fd0f6510ccfaa6bdb97cd /adb | |
parent | d9a1904d3f873f7733e3b7b91c70027781b463c5 (diff) | |
parent | feff3a8b8d1da8aaeaf36a09adc44e0fb3789737 (diff) | |
download | system_core-ee0306b93386340c86d6ca9f70bd147fba16d901.zip system_core-ee0306b93386340c86d6ca9f70bd147fba16d901.tar.gz system_core-ee0306b93386340c86d6ca9f70bd147fba16d901.tar.bz2 |
merge from open-source master
Change-Id: I183a933e96222f8c01516210cfa4be5f18e35b70
Diffstat (limited to 'adb')
-rw-r--r-- | adb/usb_vendors.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adb/usb_vendors.c b/adb/usb_vendors.c index 6d85fb1..e9e14da 100644 --- a/adb/usb_vendors.c +++ b/adb/usb_vendors.c @@ -151,7 +151,7 @@ void usb_vendors_init(void) /* builds the path to the adb vendor id file. returns 0 if success */ int build_path(char* buff, size_t len, const char* format, const char* home) { - if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= len) { + if (snprintf(buff, len, format, home, ANDROID_PATH, ANDROID_ADB_INI) >= (signed)len) { return 1; } |