about summary refs log tree commit diff
path: root/locale/programs/ld-address.c
diff options
context:
space:
mode:
Diffstat (limited to 'locale/programs/ld-address.c')
-rw-r--r--locale/programs/ld-address.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-address.c b/locale/programs/ld-address.c
index 35f7de89b4..13ff792e13 100644
--- a/locale/programs/ld-address.c
+++ b/locale/programs/ld-address.c
@@ -372,7 +372,7 @@ address_output (struct localedef_t *locale, struct charmap_t *charmap,
   ++cnt;
 
   idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len;
-  iov[cnt].iov_base = (void *) address->country_num;
+  iov[cnt].iov_base = (void *) &address->country_num;
   iov[cnt].iov_len = sizeof (uint32_t);
   ++cnt;