mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-19 18:00:33 +01:00
fixed long -> int implicit cast warning line 3453
This commit is contained in:
parent
c0835f8e75
commit
b063ebbc60
@ -3450,7 +3450,7 @@ format_number_sigsafe(unsigned long x, char *buf, int buf_len,
|
||||
cp = buf + len;
|
||||
*cp = '\0';
|
||||
do {
|
||||
unsigned digit = x % radix;
|
||||
unsigned digit = (unsigned) (x % radix);
|
||||
tor_assert(cp > buf);
|
||||
--cp;
|
||||
*cp = "0123456789ABCDEF"[digit];
|
||||
|
Loading…
Reference in New Issue
Block a user