summaryrefslogtreecommitdiffstats
path: root/fastbootd/protocol.c
diff options
context:
space:
mode:
Diffstat (limited to 'fastbootd/protocol.c')
-rw-r--r--fastbootd/protocol.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fastbootd/protocol.c b/fastbootd/protocol.c
index 0086b4a..3908020 100644
--- a/fastbootd/protocol.c
+++ b/fastbootd/protocol.c
@@ -142,7 +142,7 @@ void fastboot_data(struct protocol_handle *phandle, size_t len)
char response[64];
ssize_t ret;
- snprintf(response, 64, "DATA%08x", len);
+ snprintf(response, 64, "DATA%08zx", len);
ret = protocol_handle_write(phandle, response, strlen(response));
if (ret < 0)
return;