diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-02-19 17:41:20 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2017-02-19 17:41:20 +0000 |
commit | 696a89ee8dc1ea68171fab6ec063cf92a52af841 (patch) | |
tree | 7133f7b9b1f83857466c94b9686d3c7b28765220 /dbm_map.c | |
parent | ef7476572c9a18c0cb4d5dbaf3a81f1628419abb (diff) |
Diffstat (limited to 'dbm_map.c')
-rw-r--r-- | dbm_map.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dbm_map.c b/dbm_map.c index d158302bad66..87c085d22ec1 100644 --- a/dbm_map.c +++ b/dbm_map.c @@ -1,4 +1,4 @@ -/* $Id: dbm_map.c,v 1.7 2016/10/22 10:09:27 schwarze Exp $ */ +/* $Id: dbm_map.c,v 1.8 2017/02/17 14:43:54 schwarze Exp $ */ /* * Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> * @@ -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 |