mirror of
https://github.com/curl/curl.git
synced 2026-07-28 19:03:06 +03:00
typecast constant in comparison
This commit is contained in:
parent
e3ad6d2bd1
commit
578f42d588
1 changed files with 1 additions and 1 deletions
|
|
@ -763,7 +763,7 @@ static int dprintf_formatf(
|
|||
/* Decimal integer. */
|
||||
base = 10;
|
||||
|
||||
is_neg = p->data.num.as_signed < 0;
|
||||
is_neg = (p->data.num.as_signed < (mp_intmax_t)0);
|
||||
if(is_neg) {
|
||||
/* signed_num might fail to hold absolute negative minimum by 1 */
|
||||
signed_num = p->data.num.as_signed + (mp_intmax_t)1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue