mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
Fix a const warning under msvc
This commit is contained in:
parent
ce2513abb8
commit
0558efbd62
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user