summary refs log tree commit diff
diff options
context:
space:
mode:
-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;