diff options
author | Nick Mathewson <nickm@torproject.org> | 2012-12-18 13:33:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2013-01-16 22:29:38 -0500 |
commit | 0558efbd62e0dc5a954cfdaacdd2f48ef9a4abe0 (patch) | |
tree | 2ed838c6d300e0138463664b0c61ef524f439b65 /src/common/util.c | |
parent | ce2513abb8a7deeeea3e7b9450485b934d82c666 (diff) | |
download | tor-0558efbd62e0dc5a954cfdaacdd2f48ef9a4abe0.tar.gz tor-0558efbd62e0dc5a954cfdaacdd2f48ef9a4abe0.zip |
Fix a const warning under msvc
Diffstat (limited to 'src/common/util.c')
-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 61d09aa4a8..b0055d6c78 100644 --- a/src/common/util.c +++ b/src/common/util.c @@ -4919,7 +4919,7 @@ tor_check_port_forwarding(const char *filename, status = tor_spawn_background(filename, argv, NULL, &child_handle); #endif - tor_free(argv); + tor_free((void*)argv); if (PROCESS_STATUS_ERROR == status) { log_warn(LD_GENERAL, "Failed to start port forwarding helper %s", |