summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorandrewc <andrewchamberss@gmail.com>2016-02-05 17:32:18 +1300
committerAndrew Chambers <andrewchamberss@gmail.com>2016-02-05 18:55:59 +1300
commite506b713ad0766bf7eb182325cba64fd6931c1cc (patch)
tree227c69546e86f113c301605f511833691477eb89 /test
parent4fd76bb3f5d16488d7b50a5ef1b7674537889e06 (diff)
downloadmc-e506b713ad0766bf7eb182325cba64fd6931c1cc.tar.gz
change slgrow to take a pointer
Diffstat (limited to 'test')
-rw-r--r--test/slgrow.myr2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/slgrow.myr b/test/slgrow.myr
index ab510a0..0392979 100644
--- a/test/slgrow.myr
+++ b/test/slgrow.myr
@@ -6,7 +6,7 @@ const main = {
sl = std.slalloc(42)
sl[0] = 12
- sl = std.slgrow(sl, 123)
+ std.slgrow(&sl, 123)
sl[122] = 30
std.exit(sl[0] + sl[122])
}