diff options
author | Gerald Combs <gerald@wireshark.org> | 2009-03-09 21:18:55 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2009-03-09 21:18:55 +0000 |
commit | cc739fecb0300906438b19f874e615ead80e419b (patch) | |
tree | 8858970c6086a4fa93b4c9f804d5b46ef79df9c5 /wiretap/file_access.c | |
parent | e4892bb6c305211bf5b3fc1ba56a87981368eff8 (diff) |
P64 fixes.
svn path=/trunk/; revision=27683
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 4d325357e3..dea358fdff 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -998,11 +998,11 @@ static FILE *wtap_dump_file_fdopen(wtap_dumper *wdh _U_, int fd) #endif /* internally writing raw bytes (compressed or not) */ -size_t wtap_dump_file_write(wtap_dumper *wdh, const void *buf, unsigned bufsize) +size_t wtap_dump_file_write(wtap_dumper *wdh, const void *buf, size_t bufsize) { #ifdef HAVE_LIBZ if(wdh->compressed) { - return gzwrite(wdh->fh, buf, bufsize); + return gzwrite(wdh->fh, buf, (unsigned) bufsize); } else #endif { |