diff options
author | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-05-19 21:15:52 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@git.mail.kapsi.fi> | 2012-05-19 21:17:24 +0300 |
commit | b94329088691538004f745a28e568d5ae1fba456 (patch) | |
tree | f3415c784fb28f4cc8dc7de62afc2e17a91fb6f7 /example/client.c | |
parent | d1ca88d20ec1b205752546a40ef520a392d0002f (diff) |
Fix 64-bitness warnings in the example.
Fixes issues 9 and 10.
Diffstat (limited to 'example/client.c')
-rw-r--r-- | example/client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/client.c b/example/client.c index 95112e4c..9ad9c8c9 100644 --- a/example/client.c +++ b/example/client.c @@ -30,7 +30,7 @@ bool printfile_callback(pb_istream_t *stream, const pb_field_t *field, void *arg if (!pb_decode(stream, FileInfo_fields, &fileinfo)) return false; - printf("%-10lld %s\n", fileinfo.inode, fileinfo.name); + printf("%-10lld %s\n", (long long)fileinfo.inode, fileinfo.name); return true; } |