summaryrefslogtreecommitdiff
path: root/plugins/Watrack/watrack.dpr
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/watrack.dpr')
-rw-r--r--plugins/Watrack/watrack.dpr2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Watrack/watrack.dpr b/plugins/Watrack/watrack.dpr
index 2d22375845..20d5b3b699 100644
--- a/plugins/Watrack/watrack.dpr
+++ b/plugins/Watrack/watrack.dpr
@@ -139,7 +139,7 @@ begin
si.mfile:=dst^.mfile;
}
f:=Reset(dst^.mfile);
- if dword(f)<>INVALID_HANDLE_VALUE then
+ if THANDLE(f)<>INVALID_HANDLE_VALUE then
GetFileTime(f,nil,nil,@dst^.date);
CloseHandle(f);
dst^.fsize:=GetFSize(dst^.mfile);