OSDN Git Service

Fix 64-bit build break.
authorDan Albert <danalbert@google.com>
Fri, 22 Apr 2016 18:24:14 +0000 (11:24 -0700)
committerAndre Eisenbach <eisenbach@google.com>
Fri, 22 Apr 2016 20:51:15 +0000 (20:51 +0000)
Master (aosp and internal) has been broken for nearly two days now.

Was broken by https://android-review.googlesource.com/#/c/212244/
because no one checked 64-bit before merging.

No one noticed post-submit because the build servers aren't
checkbuilding any 64-bit targets (aside from mips64, which is broken
for other reasons).

I've uploaded a build change to get treehugger building a 64-bit
target (http://cr/120564724), and also to make all the targets
checkbuilds again (http://cr/120568746).

Change-Id: I195000284de5b52a539a47ad8b308990e72eea96

vendor_libs/test_vendor_lib/src/test_channel_transport.cc

index 0b49711..8419f2c 100644 (file)
@@ -118,7 +118,7 @@ void TestChannelTransport::OnFileCanReadWithoutBlocking(int fd) {
   }
 
   for (size_t i = 0; i < args.size(); ++i)
-    LOG_INFO(LOG_TAG, "Command argument %d: %s", i, args[i].data());
+    LOG_INFO(LOG_TAG, "Command argument %zu: %s", i, args[i].data());
 
   command_handler_(command_name, args);
 }