summaryrefslogtreecommitdiff
path: root/UMain.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-12-27 17:28:00 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-12-27 17:28:00 +0100
commitff6b0244b39ccdb30a499038382d2676d9c278be (patch)
treea966c4e951b61310e47f15ff85b3e80b5e5bc16e /UMain.pas
parent2e39205afb249626b24b1af2251297ff039a60ca (diff)
downloadtuxcmd-ff6b0244b39ccdb30a499038382d2676d9c278be.tar.xz
Kylix fixes, cleanup
Diffstat (limited to 'UMain.pas')
-rw-r--r--UMain.pas5
1 files changed, 2 insertions, 3 deletions
diff --git a/UMain.pas b/UMain.pas
index e690e4b..545d8c1 100644
--- a/UMain.pas
+++ b/UMain.pas
@@ -1759,7 +1759,6 @@ var ListView: TGTKListView;
end;
procedure DoThread;
- var DialogParent: PGtkWidget;
begin
try
OpenDirThread.AEngine := Engine;
@@ -3189,7 +3188,7 @@ var LeftPanel, HasInitialCRC: boolean;
AListView: TGTKListView;
Engine: TPanelEngine;
FilePath, s, TargetName: string;
- TargetCRC: LongWord;
+ TargetCRC: Cardinal;
TargetSize: Int64;
AWorkingThread: TWorkerThread;
begin
@@ -4901,7 +4900,7 @@ procedure TFMain.FillMounterBar;
{$IFDEF CPU64}
Button.Tag := QWORD(MounterList[i]);
{$ELSE}
- Button.Tag := Longint(MounterList[i]);
+ Button.Tag := Cardinal(MounterList[i]);
{$ENDIF}
Button.Tooltip := Format(LANGMountPointDevice, [StrToUTF8(MountPath), StrToUTF8(Device)]);
Button.BorderStyle := bsNone;