summaryrefslogtreecommitdiff
path: root/metacache.c
diff options
context:
space:
mode:
Diffstat (limited to 'metacache.c')
-rw-r--r--metacache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/metacache.c b/metacache.c
index 13616516..e7fa1619 100644
--- a/metacache.c
+++ b/metacache.c
@@ -117,7 +117,7 @@ metacache_remove_string (const char *str) {
void
metacache_ref (const char *str) {
- uint32_t *refc = (uint32_t)(str-5);
+ uint32_t *refc = (uint32_t *)(str-5);
*refc++;
}