summaryrefslogtreecommitdiffstats
path: root/intl/plural.y
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2001-01-17 17:34:02 +0000
committerBruno Haible <bruno@clisp.org>2001-01-17 17:34:02 +0000
commit4d47dbeefc2320f17ee2c819d6b79abe4427bc15 (patch)
treedc18f1865046d6a9740c3daa22097570db61c180 /intl/plural.y
parent69b02ae12acc0cafa2ec1eff32b2844ca354688f (diff)
downloadexternal_gettext-4d47dbeefc2320f17ee2c819d6b79abe4427bc15.zip
external_gettext-4d47dbeefc2320f17ee2c819d6b79abe4427bc15.tar.gz
external_gettext-4d47dbeefc2320f17ee2c819d6b79abe4427bc15.tar.bz2
Integrate glibc 2.2 -> glibc 2.2.1 changes.
Diffstat (limited to 'intl/plural.y')
-rw-r--r--intl/plural.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/plural.y b/intl/plural.y
index 77a2723..1f7fb6c 100644
--- a/intl/plural.y
+++ b/intl/plural.y
@@ -273,7 +273,7 @@ yylex (lval, pexp)
case '0': case '1': case '2': case '3': case '4':
case '5': case '6': case '7': case '8': case '9':
{
- unsigned long int n = exp[-1] - '0';
+ unsigned long int n = result - '0';
while (exp[0] >= '0' && exp[0] <= '9')
{
n *= 10;