summaryrefslogtreecommitdiffstats
path: root/dbm_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'dbm_map.c')
-rw-r--r--dbm_map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbm_map.c b/dbm_map.c
index 0c1f5eeb..75a9c717 100644
--- a/dbm_map.c
+++ b/dbm_map.c
@@ -175,7 +175,7 @@ dbm_getint(int32_t offset)
int32_t
dbm_addr(const void *p)
{
- return htobe32((char *)p - dbm_base);
+ return htobe32((const char *)p - dbm_base);
}
int