[Freeswitch-svn] [commit] r7754 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Tue Feb 26 19:08:07 EST 2008


Author: anthm
Date: Tue Feb 26 19:08:06 2008
New Revision: 7754

Modified:
   freeswitch/trunk/src/switch.c

Log:
finiky compiler contd

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Tue Feb 26 19:08:06 2008
@@ -93,7 +93,7 @@
 	}
 
 	/* pull the pid from the file */
-	if (fscanf(f, "%d", (int *)&pid)!=1) {
+	if (fscanf(f, "%d", (int *)(intptr_t)&pid)!=1) {
 		switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR,"Unable to get the pid!\n");
 	}
 



More information about the Freeswitch-svn mailing list