1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Fix warning about converting a signed value to an unsigned value.

This commit is contained in:
Jonas 'Sortie' Termansen 2014-04-26 18:21:33 +02:00
parent bf9e9d0b25
commit 7db2ea81ab

View file

@ -243,7 +243,7 @@ size_t vprintf_callback(size_t (*callback)(void*, const char*, size_t),
else
goto incomprehensible_conversion;
value = (negative_value = signed_value < 0) ?
- (uintmax_t) signed_value : signed_value;
- (uintmax_t) signed_value : (uintmax_t) signed_value;
}
else
{