diff options
author | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-20 18:37:53 +0000 |
---|---|---|
committer | Camiel Dobbelaar <camield@cvs.openbsd.org> | 2003-01-20 18:37:53 +0000 |
commit | 6ac77690f88965d1ae00c377b912f8d31214f1c7 (patch) | |
tree | 38d95e95c060a63716c3f955892257406742c8e6 /sbin/pfctl/parse.y | |
parent | 7308a0b752b23f18e6b96fd1b4f24a5be32301b9 (diff) |
Remove unused argument from print_name() and fix two other nits
found by lint.
ok henning
Diffstat (limited to 'sbin/pfctl/parse.y')
-rw-r--r-- | sbin/pfctl/parse.y | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 6054e000b40..41b10b088a1 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.294 2003/01/19 10:19:15 camield Exp $ */ +/* $OpenBSD: parse.y,v 1.295 2003/01/20 18:37:52 camield Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -2122,7 +2122,8 @@ hashkey : /* empty */ if ($$ == NULL) err(1, "hashkey: calloc"); MD5Init(&context); - MD5Update(&context, $1, strlen($1)); + MD5Update(&context, (unsigned char *)$1, + strlen($1)); MD5Final((unsigned char *)$$, &context); HTONL($$->key32[0]); HTONL($$->key32[1]); |