From 6de34814d61fea789ea3f27f0314e7e4d74adf23 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Tue, 6 Jun 1995 01:39:40 +0000 Subject: [PATCH] (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. --- src/keyboard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/keyboard.c b/src/keyboard.c index afaab7bebe2..c4e44ba9e5e 100644 --- a/src/keyboard.c +++ b/src/keyboard.c @@ -843,7 +843,7 @@ cmd_error (data) 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 @@ record_char (c) 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 @@ menu_bar_items (old) 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 -- 2.39.2