2005-04-10 Eric Christopher <echristo@redhat.com>
authorEric Christopher <echristo@gmail.com>
Sun, 10 Apr 2005 23:41:32 +0000 (23:41 +0000)
committerEric Christopher <echristo@gmail.com>
Sun, 10 Apr 2005 23:41:32 +0000 (23:41 +0000)
        * symbols.c (symbol_X_add_number): Fix warning.

gas/ChangeLog
gas/symbols.c

index 9069dd885e9b1030f6d16a73a4cb092cfa68ae40..c59edd61bd60c0ef7170c420dc17882ff151f260 100644 (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.
index bf47ebb745db5dd19c2d7669627b3533aedb6214..c8773f1e56d51172f163f3dbaf13b2b47699484c 100644 (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.  */