From 1d1358b6679fee0ea559723c6c9b06c900e7c330 Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Thu, 30 Mar 2000 19:52:35 +0000 Subject: 2000-03-30 Michael Snyder * ui-file.c: Include "gdb_string.h" * cli-out.c: Include gdb_string.h to avoid compiler warnings. * wrapper.[ch] (struct gdb_wrapper_arguments): Change fields into unions, since they are all used to hold both pointers and ints at various times. Casting pointer to int and vice versa gives warnings (and is not safe) if they are not the same size. --- gdb/cli-out.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdb/cli-out.c') diff --git a/gdb/cli-out.c b/gdb/cli-out.c index ed9817f..c7abdbe 100644 --- a/gdb/cli-out.c +++ b/gdb/cli-out.c @@ -23,6 +23,7 @@ #include "defs.h" #include "ui-out.h" #include "cli-out.h" +#include "gdb_string.h" /* Convenience macro for allocting typesafe memory. */ -- cgit v1.1