diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2016-09-16 19:00:26 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2016-09-16 19:00:26 +0000 |
commit | 0e7c4ed545b4056a47db23982e2b1faaf80f9ed9 (patch) | |
tree | f34489c234bf9836e074c8a08aad36157f3814e2 /sys | |
parent | db73976aafd405a43e3a212fd90cfc4fb71da223 (diff) |
drop unneeded casting noise
pointed out by guenther@ in a separate diff
Diffstat (limited to 'sys')
-rw-r--r-- | sys/ddb/db_hangman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/ddb/db_hangman.c b/sys/ddb/db_hangman.c index b4fb695497c..9d6dd1c751e 100644 --- a/sys/ddb/db_hangman.c +++ b/sys/ddb/db_hangman.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_hangman.c,v 1.35 2016/02/27 13:17:47 mpi Exp $ */ +/* $OpenBSD: db_hangman.c,v 1.36 2016/09/16 19:00:25 jasper Exp $ */ /* * Copyright (c) 1996 Theo de Raadt, Michael Shalayeff @@ -77,7 +77,7 @@ static void db_hang_forall(db_sym_t, char *, char *, int, void *); static void db_hang_forall(db_sym_t sym, char *name, char *suff, int pre, void *varg) { - struct db_hang_forall_arg *arg = (struct db_hang_forall_arg *)varg; + struct db_hang_forall_arg *arg = varg; if (arg->cnt-- == 0) arg->sym = sym; |