Procházet zdrojové kódy

* use unsigned type for unsigned comparison

git-svn-id: branches/jvmbackend@18738 -
Jonas Maebe před 14 roky
rodič
revize
084c76119b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/ncgset.pas

+ 1 - 1
compiler/ncgset.pas

@@ -340,7 +340,7 @@ implementation
                     { we need a carry in case the element is in the range }
                     { we need a carry in case the element is in the range }
                     { (this will never overflow since we check at the     }
                     { (this will never overflow since we check at the     }
                     { beginning whether stop-start <> 255)                }
                     { beginning whether stop-start <> 255)                }
-                    hlcg.a_cmp_const_reg_label(current_asmdata.CurrAsmList, opdef, OC_B,
+                    hlcg.a_cmp_const_reg_label(current_asmdata.CurrAsmList, uopdef, OC_B,
                       setparts[i].stop-setparts[i].start+1,pleftreg,current_procinfo.CurrTrueLabel);
                       setparts[i].stop-setparts[i].start+1,pleftreg,current_procinfo.CurrTrueLabel);
                   end
                   end
                 else
                 else