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

FreeSWITCH SVN anthm at freeswitch.org
Mon Mar 9 09:11:03 PDT 2009


Author: anthm
Date: Mon Mar  9 11:11:03 2009
New Revision: 12533

Log:
FSCORE-325

Modified:
   freeswitch/trunk/src/switch.c

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Mon Mar  9 11:11:03 2009
@@ -628,7 +628,7 @@
 			rlp.rlim_max = SWITCH_THREAD_STACKSIZE;
 			setrlimit(RLIMIT_STACK, &rlp);
 			fprintf(stderr, "Error: stacksize %ld is too large: run ulimit -s %d or run %s -waste.\nauto-adjusting stack size for optimal performance....\n", 
-					rlp.rlim_max / 1024, SWITCH_THREAD_STACKSIZE / 1024, argv[0]);
+					(int)(rlp.rlim_max / 1024), SWITCH_THREAD_STACKSIZE / 1024, argv[0]);
 			apr_terminate();
 			ret = (int)execv(argv[0], argv);
 			



More information about the Freeswitch-svn mailing list