summaryrefslogtreecommitdiff
path: root/gas/symbols.c
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2005-04-10 23:41:32 +0000
committerEric Christopher <echristo@gmail.com>2005-04-10 23:41:32 +0000
commita9fcb2a986e0ff65d325fb85183c5059bbfe0576 (patch)
tree11ca0f7d769b5d6a88f89f1ccb64c8b0f272bef2 /gas/symbols.c
parent21655b03444a72c726075938c0f1759eed36ae29 (diff)
downloadbinutils-a9fcb2a986e0ff65d325fb85183c5059bbfe0576.tar.gz
binutils-a9fcb2a986e0ff65d325fb85183c5059bbfe0576.tar.bz2
binutils-a9fcb2a986e0ff65d325fb85183c5059bbfe0576.zip
2005-04-10 Eric Christopher <echristo@redhat.com>
* symbols.c (symbol_X_add_number): Fix warning.
Diffstat (limited to 'gas/symbols.c')
-rw-r--r--gas/symbols.c2
1 files changed, 1 insertions, 1 deletions
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. */