瀏覽代碼

* use unsigned type for unsigned comparison

git-svn-id: branches/jvmbackend@18738 -
Jonas Maebe 14 年之前
父節點
當前提交
084c76119b
共有 1 個文件被更改,包括 1 次插入1 次删除
  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 }
                     { (this will never overflow since we check at the     }
                     { 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);
                   end
                 else