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:
parent
bf9e9d0b25
commit
7db2ea81ab
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue