commit | 25fb92a3ffdb7b46edd46b0a188c2693445731be | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 09 18:59:07 2018 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Jan 09 18:59:07 2018 +0000 |
tree | 5dab85cbe7988a6de92e7c504b53c23a02d8f586 | |
parent | 58e68c6c97d75bb69875abe2c4e2b4b992ec87f4 [diff] | |
parent | c7e73c2d82eb8abb8e0ccbb585be9f52f05f44d5 [diff] |
Merge "fastboot: fix log print type mismatch"
diff --git a/fastboot/engine.cpp b/fastboot/engine.cpp index 7e10cc9..271b792 100644 --- a/fastboot/engine.cpp +++ b/fastboot/engine.cpp
@@ -114,7 +114,7 @@ if (cmdsize >= sizeof(a->cmd)) { free(a); - die("Command length (%d) exceeds maximum size (%d)", cmdsize, sizeof(a->cmd)); + die("Command length (%zu) exceeds maximum size (%zu)", cmdsize, sizeof(a->cmd)); } if (action_last) {