diff options
Diffstat (limited to 'src/test/test.c')
-rw-r--r-- | src/test/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test.c b/src/test/test.c index 4f19f36eab..89b4ced87c 100644 --- a/src/test/test.c +++ b/src/test/test.c @@ -91,7 +91,7 @@ setup_directory(void) char buf[MAX_PATH]; const char *tmp = buf; /* If this fails, we're probably screwed anyway */ - if (!GetTempPath(sizeof(buf),buf)) + if (!GetTempPathA(sizeof(buf),buf)) tmp = "c:\\windows\\temp"; tor_snprintf(temp_dir, sizeof(temp_dir), "%s\\tor_test_%d", tmp, (int)getpid()); |