commit | a1e27d342e05fc504ce7140463d17336c53a1af8 | [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 | f008571a4f3abe766dff3615b2f15bdebf13f0b0 [diff] | |
parent | e69917c59c48fe42362fc8e8aa336b6c41ecbc99 [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) {