Skip to content
Snippets Groups Projects
Commit 201b852c authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Fix a compilation warning with clang 3.0

In b1ad1a1d we introduced an implicit (but safe)
long-to-int shortening that clang didn't like.

Warning not in any released version of Tor.
parent c4586f4d
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment