diff options
Diffstat (limited to 'lib/libalias')
-rw-r--r-- | lib/libalias/alias_db.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalias/alias_db.c b/lib/libalias/alias_db.c index 84b38ae..ec25070 100644 --- a/lib/libalias/alias_db.c +++ b/lib/libalias/alias_db.c @@ -2732,7 +2732,7 @@ fill_rule(void *buf, int bufsize, int rulenum, rule->cmd_len = (u_int32_t *)cmd - (u_int32_t *)rule->cmd; - return ((void *)cmd - buf); + return ((char *)cmd - (char *)buf); } #endif /* IPFW2 */ |