summary refs log tree commit diff stats
path: root/lib/system/debugger.nim
diff options
context:
space:
mode:
authorSimon Hafner <hafnersimon@gmail.com>2014-04-15 14:48:29 -0500
committerSimon Hafner <hafnersimon@gmail.com>2014-04-15 14:48:29 -0500
commit3670fe2385fc22cf273738a038e4946b19027e84 (patch)
tree4ae1ba7d6b6d1494d894c9ce734367b15fd49291 /lib/system/debugger.nim
parent9e7c0fd2b03285636ad4faf35dadb1f289aeeeff (diff)
parent6baedfe946d61c746edde89843f778e56c639843 (diff)
downloadNim-3670fe2385fc22cf273738a038e4946b19027e84.tar.gz
Merge pull request #1098 from gradha/pr_fixes_debugger_typo
Fixes typo to be able to use debugger.
Diffstat (limited to 'lib/system/debugger.nim')
-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 =