2005-04-10 Eric Christopher <echristo@redhat.com>

* symbols.c (symbol_X_add_number): Fix warning.
This commit is contained in:
Eric Christopher 2005-04-10 23:41:32 +00:00
parent 21655b0344
commit a9fcb2a986
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-04-10 Eric Christopher <echristo@redhat.com>
* symbols.c (symbol_X_add_number): Fix warning.
2005-04-10 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-m68k.c (md_begin): Support 64bit host.

View File

@ -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. */