[Freeswitch-svn] [commit] r3810 - freeswitch/trunk/src/mod/say/mod_say_en

Freeswitch SVN anthm at freeswitch.org
Fri Dec 22 17:51:14 EST 2006


Author: anthm
Date: Fri Dec 22 17:51:14 2006
New Revision: 3810

Modified:
   freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c

Log:
pickynes

Modified: freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c
==============================================================================
--- freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c	(original)
+++ freeswitch/trunk/src/mod/say/mod_say_en/mod_say_en.c	Fri Dec 22 17:51:14 2006
@@ -38,7 +38,7 @@
 #define say_num(num) {\
 		char tmp[80];\
 		switch_status_t status;\
-		snprintf(tmp, sizeof(tmp), "%d", num);\
+		snprintf(tmp, sizeof(tmp), "%u", (unsigned)num);				\
 	if ((status = en_say_general_count(session, tmp, SST_ITEMS, SSM_PRONOUNCED, input_callback, buf, buflen)) != SWITCH_STATUS_SUCCESS) {\
 		return status;\
 	}}\



More information about the Freeswitch-svn mailing list