Przeglądaj źródła

* fixed passing currency variables to arrayconstructors on platforms where
currency=int64

git-svn-id: trunk@1400 -

Jonas Maebe 20 lat temu
rodzic
commit
758337d115
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      compiler/ncgld.pas

+ 2 - 0
compiler/ncgld.pas

@@ -778,6 +778,8 @@ implementation
                        if is_64bit(lt) then
                        if is_64bit(lt) then
                          begin
                          begin
                             case torddef(lt).typ of
                             case torddef(lt).typ of
+                              scurrency:
+                                vtype:=vtCurrency;
                               s64bit:
                               s64bit:
                                 vtype:=vtInt64;
                                 vtype:=vtInt64;
                               u64bit:
                               u64bit: