summary refs log tree commit diff stats
path: root/nim/crc.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/crc.pas')
-rw-r--r--nim/crc.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/crc.pas b/nim/crc.pas
index d669c17ee..d4c5d0661 100644
--- a/nim/crc.pas
+++ b/nim/crc.pas
@@ -19,7 +19,7 @@ type
   TCrc32 = int32;
 
 const
-  InitCrc32 = TCrc32($ffffffff);
+  InitCrc32 = TCrc32(-1);
 
 function updateCrc32(val: Byte; crc: TCrc32): TCrc32; overload;
 function updateCrc32(val: Char; crc: TCrc32): TCrc32; overload;