Procházet zdrojové kódy

* fixed range error

git-svn-id: trunk@35151 -
Jonas Maebe před 8 roky
rodič
revize
fe6b662c37
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/ncgrtti.pas

+ 1 - 1
compiler/ncgrtti.pas

@@ -649,7 +649,7 @@ implementation
               otUQWord:
                 begin
                   tcb.emit_ord_const(def.low.uvalue,u64inttype);
-                  tcb.emit_ord_const(def.high.uvalue,u64inttype);
+                  tcb.emit_ord_const(int64(def.high.uvalue),u64inttype);
                 end;
               otSQWord:
                 begin