summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ccgbugs/tunsafeaddr.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ccgbugs/tunsafeaddr.nim b/tests/ccgbugs/tunsafeaddr.nim
index 4f05c7c21..518e05b25 100644
--- a/tests/ccgbugs/tunsafeaddr.nim
+++ b/tests/ccgbugs/tunsafeaddr.nim
@@ -3,8 +3,8 @@ discard """
 """
 
 {.emit: """
-long sum(long* a, long len) {
-  long i, result = 0;
+NI sum(NI* a, NI len) {
+  NI i, result = 0;
   for (i = 0; i < len; ++i) result += a[i];
   return result;
 }