Commit 2e2cb790 authored by Lev Walkin's avatar Lev Walkin

use long long to match off_t width

parent ee50d875
...@@ -207,8 +207,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os, ...@@ -207,8 +207,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
case -1: case -1:
osprintfError(os, osprintfError(os,
"%s: Fatal error decoding value length" "%s: Fatal error decoding value length"
" at %zu\n", " at %lld\n",
fname, (size_t)ibs->bytesRead(ibs)); fname, (long long)ibs->bytesRead(ibs));
return PD_FAILED; return PD_FAILED;
case 0: case 0:
/* More data expected */ /* More data expected */
...@@ -219,8 +219,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os, ...@@ -219,8 +219,8 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
if((t_len + l_len) != tblen) { if((t_len + l_len) != tblen) {
osprintfError(os, osprintfError(os,
"%s: Outer tag length doesn't match inner tag length" "%s: Outer tag length doesn't match inner tag length"
" at %zu\n", " at %lld\n",
fname, (size_t)ibs->bytesRead(ibs)); fname, (long long)ibs->bytesRead(ibs));
return PD_FAILED; return PD_FAILED;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment