about summary refs log tree commit diff
path: root/Src
diff options
context:
space:
mode:
authorTheo Buehler <theo@math.ethz.ch>2015-03-29 06:18:48 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2015-03-29 06:19:38 +0000
commitb4aa9cdc7641c6c923c1bda1c73111d80be79ba1 (patch)
tree6a92c35aa4fec4425c600675323d0979cd7c3e43 /Src
parent0b79922edbd8a22343f91bc022ce2ad3dd00c5de (diff)
downloadzsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.tar.gz
zsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.tar.xz
zsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.zip
34792: langinfo: Fix pointer type
Diffstat (limited to 'Src')
-rw-r--r--Src/Modules/langinfo.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Src/Modules/langinfo.c b/Src/Modules/langinfo.c
index f10fdfef5..eb45d161b 100644
--- a/Src/Modules/langinfo.c
+++ b/Src/Modules/langinfo.c
@@ -395,7 +395,8 @@ liitem(const char *name)
 static HashNode
 getlanginfo(UNUSED(HashTable ht), const char *name)
 {
-    int len, *elem;
+    int len;
+    nl_item *elem;
     char *listr, *nameu;
     Param pm = NULL;