[Asterisk-cvs] asterisk say.c,1.29,1.30
markster at lists.digium.com
markster at lists.digium.com
Wed May 12 15:10:02 CDT 2004
Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv31397
Modified Files:
say.c
Log Message:
Fix FreeBSD compile (bug #1620)
Index: say.c
===================================================================
RCS file: /usr/cvsroot/asterisk/say.c,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- say.c 11 May 2004 18:23:48 -0000 1.29
+++ say.c 12 May 2004 19:20:34 -0000 1.30
@@ -765,8 +765,8 @@
snprintf(fn, sizeof(fn), "digits/thousand");
num = 0;
} else if (num < 1000000) {
- t = 1;
int thousands = num / 1000;
+ t = 1;
if (thousands == 1) {
snprintf(fn, sizeof(fn), "digits/1N");
snprintf(fna, sizeof(fna), "digits/thousand");
@@ -778,8 +778,8 @@
}
num = num % 1000;
} else if (num < 1000000000) {
- t = 1;
int millions = num / 1000000;
+ t = 1;
if (millions == 1) {
snprintf(fn, sizeof(fn), "digits/1N");
snprintf(fna, sizeof(fna), "digits/million");
More information about the svn-commits
mailing list