summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Hopf <mhopf@suse.de>2007-04-05 11:53:18 +0200
committerMatthias Hopf <mhopf@suse.de>2007-04-05 11:54:26 +0200
commit680dd50193b5b3fcabdd3f1fcbd6a889d5a95c54 (patch)
treed8605c2b5242dd66aad3fc89d202c27ce40b7d31
parent4d38aeaca42d0bdfe34a833a142ee4d895de03bf (diff)
Fix 64bit issues with reallocation.
-rw-r--r--src/xlibi18n/lcDB.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xlibi18n/lcDB.c b/src/xlibi18n/lcDB.c
index 64c65dd..b7c7edd 100644
--- a/src/xlibi18n/lcDB.c
+++ b/src/xlibi18n/lcDB.c
@@ -519,7 +519,8 @@ append_value_list (void)
goto err1;
}
if (value != *value_list) {
- int delta, i;
+ int i;
+ ssize_t delta;
delta = value - *value_list;
*value_list = value;
for (i = 1; i < value_num; ++i) {