about summary refs log tree commit diff
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
parent0b79922edbd8a22343f91bc022ce2ad3dd00c5de (diff)
downloadzsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.tar.gz
zsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.tar.xz
zsh-b4aa9cdc7641c6c923c1bda1c73111d80be79ba1.zip
34792: langinfo: Fix pointer type
-rw-r--r--ChangeLog4
-rw-r--r--Src/Modules/langinfo.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index feb7ca8e4..31dee6dbe 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-29  Theo Buehler  <theo@math.ethz.ch>
+
+	* 34792: Src/Modules/langinfo.c: langinfo: Fix pointer type
+
 2015-03-29  Daniel Hahler  <git@thequod.de>
 
 	* 34762: Completion/Unix/Command/_git: completion: git: add
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;