* symbols.h (symbol_X_add_number): Update prototype.
+2005-04-11 Alan Modra <amodra@bigpond.net.au>
+
+ * symbols.c (symbol_X_add_number): Change return type to "offsetT *".
+ * symbols.h (symbol_X_add_number): Update prototype.
+
2005-04-10 Eric Christopher <echristo@redhat.com>
* symbols.c (symbol_X_add_number): Fix warning.
/* Return a pointer to the X_add_number component of a symbol. */
-valueT *
+offsetT *
symbol_X_add_number (symbolS *s)
{
#ifdef BFD_ASSEMBLER
if (LOCAL_SYMBOL_CHECK (s))
- return &((struct local_symbol *) s)->lsy_value;
+ return (offsetT *) &((struct local_symbol *) s)->lsy_value;
#endif
- return (valueT *)&s->sy_value.X_add_number;
+ return &s->sy_value.X_add_number;
}
/* Set the value of SYM to the current position in the current segment. */
extern expressionS *symbol_get_value_expression (symbolS *);
extern void symbol_set_value_expression (symbolS *, const expressionS *);
-extern valueT *symbol_X_add_number (symbolS *);
+extern offsetT *symbol_X_add_number (symbolS *);
extern void symbol_set_value_now (symbolS *);
extern void symbol_set_frag (symbolS *, fragS *);
extern fragS *symbol_get_frag (symbolS *);