changeset 12087:3bbf71f1cf30

(cmd_error): Use NULL, not 0, as arg to cmd_error_internal. (menu_bar_items): Likewise, for arg of current_minor_maps. (record_char): Add cast.
author Karl Heuer <kwzh@gnu.org>
date Tue, 06 Jun 1995 01:39:40 +0000
parents 19458e823866
children f0c9d02fb6e4
files src/keyboard.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/keyboard.c	Mon Jun 05 23:47:44 1995 +0000
+++ b/src/keyboard.c	Tue Jun 06 01:39:40 1995 +0000
@@ -843,7 +843,7 @@
   old_length = Vprint_length;
   XSETFASTINT(Vprint_level, 10);
   XSETFASTINT(Vprint_length, 10);
-  cmd_error_internal (data, 0);
+  cmd_error_internal (data, NULL);
   Vprint_level = old_level;
   Vprint_length = old_length;
 
@@ -2118,7 +2118,7 @@
 	  if (XUINT (c) < 0x100)
 	    putc (XINT (c), dribble);
 	  else
-	    fprintf (dribble, " 0x%x", XUINT (c));
+	    fprintf (dribble, " 0x%x", (int) XUINT (c));
 	}
       else
 	{
@@ -4358,7 +4358,7 @@
     else
       {
 	/* No, so use major and minor mode keymaps.  */
-	nmaps = current_minor_maps (0, &tmaps) + 2;
+	nmaps = current_minor_maps (NULL, &tmaps) + 2;
 	maps = (Lisp_Object *) alloca (nmaps * sizeof (maps[0]));
 	bcopy (tmaps, maps, (nmaps - 2) * sizeof (maps[0]));
 #ifdef USE_TEXT_PROPERTIES