[commit] Fix compiler warnings mi/mi-main.o
Mark Kettenis
mark.kettenis@xs4all.nl
Tue Jan 10 22:42:00 GMT 2006
Another thing GCC 4 warns about.
Committed as obvious.
Index: ChangeLog
from Mark Kettenis <kettenis@gnu.org>
* mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into
'gdb_byte *'.
Index: mi/mi-main.c
===================================================================
RCS file: /cvs/src/src/gdb/mi/mi-main.c,v
retrieving revision 1.82
diff -u -p -r1.82 mi-main.c
--- mi/mi-main.c 23 Dec 2005 18:57:46 -0000 1.82
+++ mi/mi-main.c 10 Jan 2006 22:40:31 -0000
@@ -761,7 +761,7 @@ mi_cmd_data_read_memory (char *command,
long word_size;
char word_asize;
char aschar;
- char *mbuf;
+ gdb_byte *mbuf;
int nr_bytes;
long offset = 0;
int optind = 0;
More information about the Gdb-patches
mailing list