Skip to content

Commit

Permalink
Proper format for size_t (issue #7)
Browse files Browse the repository at this point in the history
  • Loading branch information
edenhill committed Mar 27, 2013
1 parent 2326c71 commit 4b6cbfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/rdkafka_example.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ static void hexdump (FILE *fp, const char *name, const void *ptr, size_t len) {


if (name)
fprintf(fp, "%s hexdump (%lu bytes):\n", name, len);
fprintf(fp, "%s hexdump (%zd bytes):\n", name, len);

for (of = 0 ; of < len ; of += 16) {
char hexen[16*3+1];
Expand Down

0 comments on commit 4b6cbfb

Please sign in to comment.