summaryrefslogtreecommitdiff
path: root/rts/Hash.c
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2016-05-19 06:19:24 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2016-05-19 06:19:25 +1000
commitf18e8d8db6246340c8840bd0ca2c43767009f14c (patch)
tree05c46d57c9b5d30a149a3d50d293ecf1778f10d8 /rts/Hash.c
parent5f1557eea2c1a5cf09321d9dc01070b6c068e2fa (diff)
downloadhaskell-f18e8d8db6246340c8840bd0ca2c43767009f14c.tar.gz
rts: Add missing `const` from HashTable API
Thanks to Tamar Christina (Phyx) for spotting this. Test Plan: Validate Reviewers: simonmar, austin, trofi, bgamari, hsyl20, Phyx Reviewed By: Phyx Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D2236
Diffstat (limited to 'rts/Hash.c')
-rw-r--r--rts/Hash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rts/Hash.c b/rts/Hash.c
index 1b193e3247..1f8c0ca00c 100644
--- a/rts/Hash.c
+++ b/rts/Hash.c
@@ -303,7 +303,7 @@ insertHashTable(HashTable *table, StgWord key, const void *data)
}
void *
-removeHashTable(HashTable *table, StgWord key, void *data)
+removeHashTable(HashTable *table, StgWord key, const void *data)
{
int bucket;
int segment;