aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/menu.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index fd864a460f4..99cdde19234 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,8 @@
2 2
3 Fix more problems found by GCC 4.6.0's static checks. 3 Fix more problems found by GCC 4.6.0's static checks.
4 4
5 * menu.c (Fx_popup_menu): Don't assume error_name lacks printf formats.
6
5 * fns.c (Fstring_to_unibyte): Don't rely on undefined behavior 7 * fns.c (Fstring_to_unibyte): Don't rely on undefined behavior
6 by passing a long int to a printf format expecting an int. 8 by passing a long int to a printf format expecting an int.
7 9
diff --git a/src/menu.c b/src/menu.c
index a9098deed7e..3bfb74863ae 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -1340,7 +1340,7 @@ no quit occurs and `x-popup-menu' returns nil. */)
1340 1340
1341 UNGCPRO; 1341 UNGCPRO;
1342 1342
1343 if (error_name) error (error_name); 1343 if (error_name) error ("%s", error_name);
1344 return selection; 1344 return selection;
1345} 1345}
1346 1346