Code Review
/
apps
/
low-level-can-service.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merged 0003-Fixed-format-specifiers.patch by Matt Kern.
[apps/low-level-can-service.git]
/
tests
/
test_decode1.c
diff --git
a/tests/test_decode1.c
b/tests/test_decode1.c
index
3f02745
..
b412ea8
100644
(file)
--- a/
tests/test_decode1.c
+++ b/
tests/test_decode1.c
@@
-23,7
+23,7
@@
bool print_person(pb_istream_t *stream)
/* Now the decoding is done, rest is just to print stuff out. */
printf("name: \"%s\"\n", person.name);
/* Now the decoding is done, rest is just to print stuff out. */
printf("name: \"%s\"\n", person.name);
- printf("id: %
d\n",
person.id);
+ printf("id: %
ld\n", (long)
person.id);
if (person.has_email)
printf("email: \"%s\"\n", person.email);
if (person.has_email)
printf("email: \"%s\"\n", person.email);