From 74d6ac44dec6ac521772bc13c5c789c3d97ec19f Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 23 Apr 1998 19:31:51 +0000 Subject: Thu Apr 23 12:27:43 1998 Philippe De Muyter * symfile.c (simple_overlay_update_1): Do not prefix array address by `&'. * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto. * tracepoint.c (encode_actions): Ditto. * language.c, complaints.c, utils.c (varargs.h): Do not include that file here, it is already included indirectly by defs.h. * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return value to the appropriate pointer type. * utils.c (floatformat_from_doublest): Ditto. * tracepoint.c (read_actions, _initialize_tracepoint): Ditto. (add_memrange): Likewise with xrealloc return value. * stabsread.c (ref_add): Ditto. * coffread.c (coff_symfile_init): Likewise for xmmalloc return value. * elfread.c (elf_symfile_read): Ditto. * os9kread.c (os9k_symfile_init): Ditto. --- gdb/bcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/bcache.h') diff --git a/gdb/bcache.h b/gdb/bcache.h index 48b71e2..cf0c62e 100644 --- a/gdb/bcache.h +++ b/gdb/bcache.h @@ -47,7 +47,7 @@ struct hashlink { a hashlink struct to hold the next pointer and the data. */ #define BCACHE_DATA_ALIGNMENT \ - (((char *) &BCACHE_DATA((struct hashlink*) 0) - (char *) 0)) + (((char *) BCACHE_DATA((struct hashlink*) 0) - (char *) 0)) struct bcache { struct obstack cache; -- cgit v1.1