Commit 19c5d079 authored by Mouse's avatar Mouse

Revert "Fixed format errors ("long long" format for "long" argument)"

This reverts commit 615295a4.
parent 01e8d1cb
......@@ -151,7 +151,7 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
if(limit >= 0 && tblen >= limit) {
osprintfError(os,
"%s: Too long TL sequence (%zd >= %zd) at %ld. "
"%s: Too long TL sequence (%zd >= %zd) at %lld. "
"Broken or maliciously constructed file\n",
fname, tblen, limit, ibs->bytesRead(ibs));
return PD_FAILED;
......@@ -159,7 +159,7 @@ process_deeper(const char *fname, input_stream_t *ibs, output_stream_t *os,
if(tblen >= (ssize_t)sizeof(tagbuf)) {
osprintfError(os,
"%s: Too long TL sequence (%zd bytes) at %ld. "
"%s: Too long TL sequence (%zd bytes) at %lld. "
"Broken or maliciously constructed file\n",
fname, tblen, ibs->bytesRead(ibs));
return PD_FAILED;
......@@ -318,7 +318,7 @@ print_TL(output_stream_t *os, int fin, off_t offset, int level, int constr,
osprintf(os, constr ? ((tlv_len == -1) ? "I" : "C") : "P");
/* Print out the offset of this boundary, even if closing tag */
if(!minimalistic) osprintf(os, " O=\"%ld\"", offset);
if(!minimalistic) osprintf(os, " O=\"%lld\"", offset);
osprintf(os, " T=\"%s\"", ber_tlv_tag_string(tlv_tag));
......
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