So, here are my changes (diff).
ZAbstractRODataset.pas:
Code: Select all
1325c1325
< DataEvent(deFieldChange, LongInt(Field));
---
> DataEvent(deFieldChange, Int64(Field));
ZClasses.pas:
Code: Select all
258c258
< Result := LongInt(Self);
---
> Result := Int64(Self);
ZCollections.pas:
Code: Select all
273a274
> {$asmmode intel}
275c276
< MOV EAX,[EBP+4]
---
> MOV RAX,[RBP+4]
ZDatasetUtils.pas:
Code: Select all
1285c1285
< Result[I] := Integer(Fields[I]);
---
> Result[I] := Int64(Fields[I]);
1302c1302
< if FieldsLookupTable[I] = Integer(Field) then
---
> if FieldsLookupTable[I] = Int64(Field) then
ZPlainFirebird10.pas:
Code: Select all
400c400
< libc;
---
> baseunix, unix;
ZPlainFirebird15.pas:
Code: Select all
404c404
< libc;
---
> baseunix, unix;
ZPlainFirebird20.pas:
Code: Select all
405c405
< libc;
---
> baseunix, unix;
ZPlainLoader.pas:
Code: Select all
95c95
< libc,
---
> baseunix,unix,
ZStreamBlob.pas
Code: Select all
121c121
< THackedDataset(FField.DataSet).DataEvent(deFieldChange, LongInt(FField));
---
> THackedDataset(FField.DataSet).DataEvent(deFieldChange, Int64(FField));
That's all.
I try to inquire why components aren't appeared on the Component palette but no solution yet.
Important!
These changes are tested only on Debian Linux AMD64 system.