aboutsummaryrefslogtreecommitdiffstats
path: root/test/c/qsort.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/c/qsort.c')
-rw-r--r--test/c/qsort.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/c/qsort.c b/test/c/qsort.c
index 8a035eb5..1ebe1e11 100644
--- a/test/c/qsort.c
+++ b/test/c/qsort.c
@@ -34,7 +34,11 @@ int main(int argc, char ** argv)
int n, i, j;
int * a, * b;
+#ifdef __K1C__
if (argc >= 2) n = atoi(argv[1]); else n = 500;
+#else
+ if (argc >= 2) n = atoi(argv[1]); else n = 100000;
+#endif
a = malloc(n * sizeof(int));
b = malloc(n * sizeof(int));
for (j = 0; j < NITER; j++) {