From a9fcb2a986e0ff65d325fb85183c5059bbfe0576 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Sun, 10 Apr 2005 23:41:32 +0000 Subject: [PATCH] 2005-04-10 Eric Christopher * symbols.c (symbol_X_add_number): Fix warning. --- gas/ChangeLog | 4 ++++ gas/symbols.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 9069dd885e9..c59edd61bd6 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2005-04-10 Eric Christopher + + * symbols.c (symbol_X_add_number): Fix warning. + 2005-04-10 H.J. Lu * config/tc-m68k.c (md_begin): Support 64bit host. diff --git a/gas/symbols.c b/gas/symbols.c index bf47ebb745d..c8773f1e56d 100644 --- a/gas/symbols.c +++ b/gas/symbols.c @@ -2032,7 +2032,7 @@ symbol_X_add_number (symbolS *s) return &((struct local_symbol *) s)->lsy_value; #endif - return &s->sy_value.X_add_number; + return (valueT *)&s->sy_value.X_add_number; } /* Set the value of SYM to the current position in the current segment. */ -- 2.30.2