forked from Imagelibrary/binutils-gdb
gas function arg casts
This patch removes more unnecessary arg casts in various function calls.
This commit is contained in:
@@ -491,7 +491,7 @@ static void
|
||||
define_sym_at_dot (symbolS *symbolP)
|
||||
{
|
||||
symbolP->frag = frag_now;
|
||||
S_SET_VALUE (symbolP, (valueT) frag_now_fix ());
|
||||
S_SET_VALUE (symbolP, frag_now_fix ());
|
||||
S_SET_SEGMENT (symbolP, now_seg);
|
||||
}
|
||||
|
||||
@@ -626,11 +626,8 @@ colon (/* Just seen "x:" - rattle symbols & frags. */
|
||||
If the new size is larger we just change its
|
||||
value. If the new size is smaller, we ignore
|
||||
this symbol. */
|
||||
if (S_GET_VALUE (symbolP)
|
||||
< ((unsigned) frag_now_fix ()))
|
||||
{
|
||||
S_SET_VALUE (symbolP, (valueT) frag_now_fix ());
|
||||
}
|
||||
if (S_GET_VALUE (symbolP) < frag_now_fix ())
|
||||
S_SET_VALUE (symbolP, frag_now_fix ());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user