From: Mark Spencer Date: Wed, 12 May 2004 19:20:34 +0000 (+0000) Subject: Fix FreeBSD compile (bug #1620) X-Git-Tag: 1.0.0-rc1~494 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=88fa72f8928550b5db49524f2ebd97081997dfe6;p=thirdparty%2Fasterisk.git Fix FreeBSD compile (bug #1620) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2952 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/say.c b/say.c index c4cce4c686..10318b082b 100755 --- a/say.c +++ b/say.c @@ -765,8 +765,8 @@ static int ast_say_number_full_de(struct ast_channel *chan, int num, char *ints, 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 @@ static int ast_say_number_full_de(struct ast_channel *chan, int num, char *ints, } 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");