summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/config.c b/src/or/config.c
index 4d97b9b1bd..36dc9dfeda 100644
--- a/src/or/config.c
+++ b/src/or/config.c
@@ -4753,7 +4753,7 @@ or_state_load(void)
log_warn(LD_BUG, "Unable to parse state in \"%s\". Moving it aside "
"to \"%s\". This could be a bug in Tor; please tell "
"the developers.", fname, fname2);
- rename(fname, fname2);
+ (int)rename(fname, fname2);
}
tor_free(fname2);
tor_free(contents);