diff options
author | Nick Hopper <hopper@cs.umn.edu> | 2014-02-20 05:48:47 -0600 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-02-20 11:54:01 +0000 |
commit | b063ebbc60a1fce9526b00c2fdfd9c0475652420 (patch) | |
tree | 05db8130d7bfe86ee9127ad89307f3051e317ead | |
parent | c0835f8e75bf23497971b860742d019f39834c58 (diff) | |
download | tor-b063ebbc60a1fce9526b00c2fdfd9c0475652420.tar.gz tor-b063ebbc60a1fce9526b00c2fdfd9c0475652420.zip |
fixed long -> int implicit cast warning line 3453
-rw-r--r-- | src/common/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c index 054de3dbe9..3c2f6643ad 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -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]; |