merge from open-source master
Change-Id: I183a933e96222f8c01516210cfa4be5f18e35b70
This commit is contained in:
commit
ee0306b933
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue