mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a compilation warning with clang 3.0
In b1ad1a1d02 we introduced an implicit (but safe)
long-to-int shortening that clang didn't like.
Warning not in any released version of Tor.
This commit is contained in:
+1
-1
@@ -3347,7 +3347,7 @@ format_helper_exit_status(unsigned char child_state, int saved_errno,
|
||||
*cur++ = '\n';
|
||||
*cur++ = '\0';
|
||||
|
||||
res = cur - hex_errno - 1;
|
||||
res = (int)(cur - hex_errno - 1);
|
||||
|
||||
goto done;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user