# HG changeset patch # User Karl Heuer # Date 802402780 0 # Node ID 3bbf71f1cf3049cc5d8761e14434a31c51f6b8a5 # Parent 19458e823866043b30dd65a109b9fe28a92a5b4f (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. diff -r 19458e823866 -r 3bbf71f1cf30 src/keyboard.c --- 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