commit da3edc4df0783778833b6f8660f73047a280e308 Author: Nick Mathewson nickm@torproject.org Date: Fri Jun 29 00:22:57 2012 -0400
Fix clang warning on d4285f03df475dc. Not in any released tor. --- 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 4850e04..492ea32 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;