]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/config/tc-sparc.c
Make frag fr_fix unsigned
[thirdparty/binutils-gdb.git] / gas / config / tc-sparc.c
index 347db08173a8948ef1ecb970dbf36267ff8905ef..677a13f1fea47f348dfa890956d8ecbd28230ef8 100644 (file)
@@ -3566,7 +3566,7 @@ md_apply_fix (fixS *fixP, valueT *valP, segT segment ATTRIBUTE_UNUSED)
              can be completely resolved here, i.e. if no undefined
              symbol is associated with it.  */
          if (sparc_relax && fixP->fx_addsy == NULL
-             && fixP->fx_where + 8 <= fixP->fx_frag->fr_fix)
+             && (valueT) fixP->fx_where + 8 <= fixP->fx_frag->fr_fix)
            {
 #define G0             0
 #define O7             15