Selaa lähdekoodia

* fix from mantis 17360, ISC_Status is 64-bit. (Lp64 vs LLp64 problem)

git-svn-id: trunk@16586 -
marco 14 vuotta sitten
vanhempi
commit
c3ed1c41a1
2 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. 1 1
      packages/ibase/src/ibase40.pp
  2. 1 1
      packages/ibase/src/ibase60.inc

+ 1 - 1
packages/ibase/src/ibase40.pp

@@ -43,7 +43,7 @@ type
 
   { Interbase redefinitions }
 
-  ISC_LONG             = Long;
+  ISC_LONG             = PtrInt; // Bug 17360
   UISC_LONG            = ULong;
   ISC_STATUS           = Long;
   UISC_STATUS          = ULong;

+ 1 - 1
packages/ibase/src/ibase60.inc

@@ -33,7 +33,7 @@ Type
    ISC_UCHAR     = cuchar;
    ISC_SHORT     = cshort;
    ISC_USHORT    = cushort;
-   ISC_STATUS    = clong;
+   ISC_STATUS    = ptrint;   // bug 17360
    ISC_INT64     = clonglong;
    ISC_UINT64    = culonglong;
 {$IFDEF CPU64}