diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-06-29 00:22:57 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2012-06-29 00:22:57 -0400 |
commit | da3edc4df0783778833b6f8660f73047a280e308 (patch) | |
tree | 1e1d9aba2a70551e00bf5a8e3e3eaf6ea0906ae8 | |
parent | 2f8a9e3502d6f97fa3ffaa27afa552db7f8773e4 (diff) | |
download | tor-da3edc4df0783778833b6f8660f73047a280e308.tar tor-da3edc4df0783778833b6f8660f73047a280e308.tar.gz |
Fix clang warning on d4285f03df475dc. Not in any released tor.
-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 4850e04d1..492ea32a7 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -2872,7 +2872,7 @@ tor_vsscanf(const char *buf, const char *pattern, va_list ap) unsigned *out = va_arg(ap, unsigned *); if (u > UINT_MAX) return n_matched; - *out = u; + *out = (unsigned) u; } ++pattern; ++n_matched; |