repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 364ff7087def59f7db87f1fa0f97eb47039b493c:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 364ff7087def59f7db87f1fa0f97eb47039b493c
Author: Alexander Barton 
Date:   Sat Jun 26 08:50:44 2004 +0000

    Added cast to integer for Solaris.

diff --git a/src/ngircd/log.c b/src/ngircd/log.c
index 6017841fa5af48968c643f0abc8da2dd25a5e6cb..
index ..7fa57255ca7b957373db701c29865ca3f223e3de 100644
--- a/src/ngircd/log.c
+++ b/src/ngircd/log.c
@@ -14,7 +14,7 @@

 #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 
@@ -182,7 +182,7 @@ va_dcl
 	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
@@ -265,7 +265,7 @@ va_dcl
 	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

-----END OF PAGE-----