diff options
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-address.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-address.c b/locale/programs/ld-address.c index 3c13e68af3..2488a5ce5c 100644 --- a/locale/programs/ld-address.c +++ b/locale/programs/ld-address.c @@ -485,8 +485,8 @@ address_read (struct linereader *ldfile, struct localedef_t *result, address->cat = arg->val.str.startmb; \ else \ { \ - char *numbuf = (char *) xmalloc (11); \ - snprintf (numbuf, 11, "%ld", arg->val.num); \ + char *numbuf = (char *) xmalloc (21); \ + snprintf (numbuf, 21, "%ld", arg->val.num); \ address->cat = numbuf; \ } \ } \ |