commit | 1e9e25447c87e14ba49ea190fe0cadaec3b0d649 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Apr 29 19:36:33 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Wed Apr 29 19:36:33 2015 +0000 |
tree | 411636275007d1fa281cf035e44fa59f3d38e12a | |
parent | 1ee360bb549d06614f1e3f1d37b1dd36ea7a0599 [diff] | |
parent | faa775b8777091130c83758c5e2139cd739ae935 [diff] |
Merge "Fix Win32 build."
diff --git a/adb/adb_client.cpp b/adb/adb_client.cpp index e07c92c..0b2d038 100644 --- a/adb/adb_client.cpp +++ b/adb/adb_client.cpp
@@ -191,7 +191,7 @@ D("_adb_connect: %s\n", service); size_t len = strlen(service); if ((len < 1) || (len > 1024)) { - *error = android::base::StringPrintf("service name too long (%zd)", len); + *error = android::base::StringPrintf("service name too long (%d)", static_cast<int>(len)); return -1; } snprintf(tmp, sizeof tmp, "%04zx", len);