summary refs log tree commit diff stats
path: root/lib/system
diff options
context:
space:
mode:
Diffstat (limited to 'lib/system')
-rw-r--r--lib/system/debugger.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system/debugger.nim b/lib/system/debugger.nim
index b5cb5e9ba..af7b6d515 100644
--- a/lib/system/debugger.nim
+++ b/lib/system/debugger.nim
@@ -178,7 +178,7 @@ proc hash(data: pointer, size: int): THash =
   while s > 0:
     h = h !& ord(p[i])
     inc(i)
-    cec(s)
+    dec(s)
   result = !$h
 
 proc hashGcHeader(data: pointer): THash =