Merged 0004-Added-missing-trailing-newlines.patch by Matt Kern.
[apps/agl-service-can-low-level.git] / tests / test_decode1.c
index 3f02745..b412ea8 100644 (file)
@@ -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);
-    printf("id: %d\n", person.id);
+    printf("id: %ld\n", (long)person.id);
     
     if (person.has_email)
         printf("email: \"%s\"\n", person.email);