2000-03-30 Michael Snyder <msnyder@cleaver.cygnus.com>

* 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.
This commit is contained in:
Michael Snyder
2000-03-30 19:52:35 +00:00
parent 213c01f70e
commit 1d1358b667
4 changed files with 46 additions and 26 deletions

View File

@@ -22,6 +22,7 @@
#include "defs.h"
#include "ui-file.h"
#include "gdb_string.h"
#undef XMALLOC
#define XMALLOC(TYPE) ((TYPE*) xmalloc (sizeof (TYPE)))