commit - 0b3ee07a2abfc1489db8193cd0770a24f0d389dc
commit + 364ff7087def59f7db87f1fa0f97eb47039b493c
blob - 6017841fa5af48968c643f0abc8da2dd25a5e6cb
blob + 7fa57255ca7b957373db701c29865ca3f223e3de
--- src/ngircd/log.c
+++ src/ngircd/log.c
#include "portab.h"
-static char UNUSED id[] = "$Id: log.c,v 1.46 2004/05/10 23:57:46 alex Exp $";
+static char UNUSED id[] = "$Id: log.c,v 1.47 2004/06/26 08:50:44 alex Exp $";
#include "imp.h"
#include <assert.h>
if( NGIRCd_NoDaemon )
{
/* auf Konsole ausgeben */
- fprintf( stdout, "[%d:%d] %s\n", getpid( ), Level, msg );
+ fprintf( stdout, "[%d:%d] %s\n", (INT)getpid( ), Level, msg );
fflush( stdout );
}
#ifdef SYSLOG
if( NGIRCd_NoDaemon )
{
/* Output to console */
- fprintf( stdout, "[%d:%d] %s\n", getpid( ), Level, msg );
+ fprintf( stdout, "[%d:%d] %s\n", (INT)getpid( ), Level, msg );
fflush( stdout );
}
#ifdef SYSLOG