Fix compile time warning messages building with gcc v6.1.1
[deliverable/binutils-gdb.git] / gas / config / tc-arc.c
index a5b9a98b77faaebf051ad1a3a34794de8a30a30b..966b18d2ac7fe721d5847d81b0c3170f0e78c446 100644 (file)
@@ -2916,7 +2916,7 @@ md_apply_fix (fixS *fixP,
      bits of a 32-bit negative value read in by the parser are set,
      so that the correct comparisons are made.  */
   if (value & 0x80000000)
-    value |= (-1L << 31);
+    value |= (-1UL << 31);
 
   reloc = fixP->fx_r_type;
   switch (reloc)
This page took 0.03684 seconds and 4 git commands to generate.