diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-08-31 12:27:32 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2014-08-31 12:27:32 +0000 |
commit | 03d7430425057781a9ad96c6bd646e873252963c (patch) | |
tree | c90ad801758524d99196d4c51065862d5d37e8bc /navit/file.c | |
parent | d86dbbf718eee190ae988f89b148f774f813e988 (diff) | |
download | navit-03d7430425057781a9ad96c6bd646e873252963c.tar.gz |
Fix:core:Fix warnings for incorrect format strings: use %td, %zu.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5880 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/file.c')
-rw-r--r-- | navit/file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/file.c b/navit/file.c index 10bca2755..d1afd2c72 100644 --- a/navit/file.c +++ b/navit/file.c @@ -427,7 +427,7 @@ file_data_read_special(struct file *file, int size, int *size_ret) dbg(1,"checking header\n"); if ((hdr=file_http_header_end(file->buffer, file->buffer_len))) { hdr[-1]='\0'; - dbg(1,"found %s (%d bytes)\n",file->buffer,sizeof(file->buffer)); + dbg(1,"found %s\n",file->buffer); file_process_headers(file, file->buffer); file_shift_buffer(file, hdr-file->buffer); file->requests--; @@ -920,6 +920,6 @@ file_init(void) file_cache=cache_new(sizeof(struct file_cache_id), CACHE_SIZE); #endif if(sizeof(off_t)<8) - dbg(0,"Maps larger than 2GB are not supported by this binary, sizeof(off_t)=%d\n",sizeof(off_t)); + dbg(0,"Maps larger than 2GB are not supported by this binary, sizeof(off_t)=%zu\n",sizeof(off_t)); } |