gas function arg casts

This patch removes more unnecessary arg casts in various function
calls.
This commit is contained in:
Alan Modra
2025-07-09 09:12:53 +09:30
parent 48753009c1
commit c78eda50fe
32 changed files with 104 additions and 117 deletions

View File

@@ -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
{