commit - 7f66fd908e8558ea6737eb3acf9a13454d51d99d
commit + 8cd18eb6b4b459c693723c62570677e1e720085c
blob - 76c0c768120d047ff1a705f2d018311252fc46de
blob + 794ff0acfbb3ed02ee4aaeccf2f38cca3bc323a2
--- src/ngircd/log.c
+++ src/ngircd/log.c
#include "portab.h"
-static char UNUSED id[] = "$Id: log.c,v 1.44.2.2 2004/05/15 23:51:13 alex Exp $";
+static char UNUSED id[] = "$Id: log.c,v 1.44.2.3 2004/06/26 09:06:27 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