summaryrefslogtreecommitdiff
path: root/testsuite/tests/rts/testblockalloc.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-05-01 21:59:50 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-05-02 06:13:56 +1000
commit868d2c473d6faeb23d8626fd21fa342e29b582f4 (patch)
treecc0884bb5a6ac3768ee76292d067020379984bff /testsuite/tests/rts/testblockalloc.c
parente6627d1f8964807f19f8773f09cfaacae7ca8ab8 (diff)
downloadhaskell-868d2c473d6faeb23d8626fd21fa342e29b582f4.tar.gz
rts: Remove deprecated C type `lnat`
Summary: The `lnat` type was deprecated in 2012 in commit 41737f12f9 with a note to use `StgWord` instead. Test Plan: Validate on Linux and OS X Reviewers: simonmar, austin, Phyx, hvr, bgamari Reviewed By: simonmar, Phyx, bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2164
Diffstat (limited to 'testsuite/tests/rts/testblockalloc.c')
-rw-r--r--testsuite/tests/rts/testblockalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/rts/testblockalloc.c b/testsuite/tests/rts/testblockalloc.c
index b49ae00bac..bde81d31e5 100644
--- a/testsuite/tests/rts/testblockalloc.c
+++ b/testsuite/tests/rts/testblockalloc.c
@@ -11,7 +11,7 @@ const int MAXALLOC = ((8 * 1024 * 1024) / BLOCK_SIZE - 1);
//const int MAXALLOC = ((64 * 1024 * 1024) / BLOCK_SIZE - 1);
const int SEED = 0xf00f00;
-extern lnat mblocks_allocated;
+extern StgWord mblocks_allocated;
int main (int argc, char *argv[])
{