* PERFORMANCE OF THIS SOFTWARE.
*/
-/* $Id: server.c,v 1.575 2010/07/19 06:13:28 marka Exp $ */
+/* $Id: server.c,v 1.576 2010/07/20 04:46:49 marka Exp $ */
/*! \file */
size_t n;
/* Create a temporary file */
- CHECK(isc_string_printf(buf, 1023, "%s.%d", filename,
- getpid()));
+ CHECK(isc_string_printf(buf, 1023, "%s.%ld", filename,
+ (long)getpid()));
if (!(tmpname = isc_mem_strdup(server->mctx, buf))) {
result = ISC_R_NOMEMORY;
goto cleanup;