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

Freeswitch SVN anthm at freeswitch.org
Tue Feb 26 19:03:25 EST 2008


Author: anthm
Date: Tue Feb 26 19:03:25 2008
New Revision: 7753

Modified:
   freeswitch/trunk/src/switch.c

Log:
finiky compiler

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Tue Feb 26 19:03:25 2008
@@ -93,7 +93,7 @@
 	}
 
 	/* pull the pid from the file */
-	if (fscanf(f, "%d", &pid)!=1) {
+	if (fscanf(f, "%d", (int *)&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