mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix clang warning on d4285f03df. Not in any released tor.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user