git.haskell.org
/
ghc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
rts: Add missing `const` from HashTable API
[ghc.git]
/
rts
/
Hash.c
diff --git
a/rts/Hash.c
b/rts/Hash.c
index
1b193e3
..
1f8c0ca
100644
(file)
--- 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;