bio/b_print.c: fix %z failure in 32-bit build.
Reviewed-by: Richard Levitte <levitte@openssl.org>
This commit is contained in:
parent
6e6aa5a9db
commit
c141782130
1 changed files with 2 additions and 2 deletions
|
@ -267,10 +267,10 @@ _dopr(char **sbuffer,
|
||||||
value = va_arg(args, unsigned LLONG);
|
value = va_arg(args, unsigned LLONG);
|
||||||
break;
|
break;
|
||||||
case DP_C_SIZE:
|
case DP_C_SIZE:
|
||||||
value = (ossl_ssize_t)va_arg(args, size_t);
|
value = va_arg(args, size_t);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
value = (LLONG) va_arg(args, unsigned int);
|
value = (LLONG)va_arg(args, unsigned int);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!fmtint(sbuffer, buffer, &currlen, maxlen, value,
|
if (!fmtint(sbuffer, buffer, &currlen, maxlen, value,
|
||||||
|
|
Loading…
Reference in a new issue