From 823ca731ed62b553ee30c61c93e8e97a86eee562 Mon Sep 17 00:00:00 2001
From: Andrew Cagney <cagney@redhat.com>
Date: Sat, 23 Mar 2002 17:38:13 +0000
Subject: * defs.h (error): Add printf format attribute. * thread-db.c
 (thread_from_lwp): Fix error format string. * stack.c
 (parse_frame_specification): Ditto. * cli/cli-decode.c (undef_cmd_error):
 Ditto. * scm-lang.c (scm_lookup_name): Ditto. * tracepoint.c (trace_error):
 Ditto. * remote-utils.c (usage): Ditto. * remote.c
 (compare_sections_command): Ditto. Fix PR gdb/328.

---
 gdb/cli/cli-decode.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gdb/cli/cli-decode.c')

diff --git a/gdb/cli/cli-decode.c b/gdb/cli/cli-decode.c
index 28db5f9..d96a4d1 100644
--- a/gdb/cli/cli-decode.c
+++ b/gdb/cli/cli-decode.c
@@ -975,7 +975,7 @@ undef_cmd_error (char *cmdtype, char *q)
 	 cmdtype,
 	 q,
 	 *cmdtype ? " " : "",
-	 strlen (cmdtype) - 1,
+	 (int) strlen (cmdtype) - 1,
 	 cmdtype);
 }
 
-- 
cgit v1.1