From d48e377e8ae568b9e7b00230da8b2c08af48a89e Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 16 Sep 2010 03:53:27 +0000 Subject: [PATCH] Win compile fix svn path=/trunk/boinc/; revision=22367 --- api/boinc_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/boinc_api.cpp b/api/boinc_api.cpp index 26e451e7da..7253e2ebad 100644 --- a/api/boinc_api.cpp +++ b/api/boinc_api.cpp @@ -200,7 +200,7 @@ char* boinc_msg_prefix(char* sbuf, int len) { struct tm* tm = localtime(&x); strftime(buf, sizeof(buf)-1, "%H:%M:%S", tm); #ifdef _WIN32 - snprintf(sbuf, len, "%s (%d):", buf, GetCurrentProcessId()); + _snprintf(sbuf, len, "%s (%d):", buf, GetCurrentProcessId()); #else snprintf(sbuf, len, "%s (%d):", buf, getpid()); #endif