[rpc] Fix print format compilation error
The error suddenly starts to occur recently.
Change-Id: I26ff7d7025a1b6b5ecb4763424d834583dc0ba11
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/39460
Reviewed-by: Varun Sharma <vars@google.com>
Commit-Queue: Yecheng Zhao <zyecheng@google.com>
diff --git a/applications/rpc/main.cc b/applications/rpc/main.cc
index c9ea5f0..07ffbf1 100644
--- a/applications/rpc/main.cc
+++ b/applications/rpc/main.cc
@@ -121,7 +121,7 @@
if (hdlc_frame.address() != kHdlcChannelForRpc) {
// We ignore frames that are for unknown addresses, but you could put
// some code here if you wanted to stream custom data from PC --> device.
- PW_LOG_WARN("Got packet with no destination; address: %d",
+ PW_LOG_WARN("Got packet with no destination; address: %llu",
hdlc_frame.address());
return;
}
diff --git a/applications/rpc/tokenizer_database.csv b/applications/rpc/tokenizer_database.csv
index 3540a40..7fa6687 100644
--- a/applications/rpc/tokenizer_database.csv
+++ b/applications/rpc/tokenizer_database.csv
@@ -5,6 +5,7 @@
1ea870fb, ,"Blink Low!"
2bc3cb0f, ," The current allocated heap memory is %u bytes."
39b2c339, ,"Failed to decode packet on interface %s"
+3dfbffed, ,"Got packet with no destination; address: %llu"
3f774ea7, ,"Unable to handle packet of type %u"
5a592684, ," malloc() is called %u times. (realloc()/calloc() counted as one time)"
6271ad9a, ,"Got complete packet!"