From ecfff726db4d484d97d0c86d0e4056d77487b2ca Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sun, 7 Jul 2013 14:08:06 +0000 Subject: fix int vs long assumption; ok kettenis --- sys/arch/hppa/hppa/db_interface.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sys/arch/hppa/hppa/db_interface.c b/sys/arch/hppa/hppa/db_interface.c index be5181839b5..69a395a4c31 100644 --- a/sys/arch/hppa/hppa/db_interface.c +++ b/sys/arch/hppa/hppa/db_interface.c @@ -1,4 +1,4 @@ -/* $OpenBSD: db_interface.c,v 1.32 2005/04/07 00:17:32 mickey Exp $ */ +/* $OpenBSD: db_interface.c,v 1.33 2013/07/07 14:08:05 deraadt Exp $ */ /* * Copyright (c) 1999-2003 Michael Shalayeff @@ -240,11 +240,12 @@ db_stack_trace_print(addr, have_addr, count, modif, pr) char *modif; int (*pr)(const char *, ...); { - register_t *fp, pc, rp, nargs, *argp; + register_t *fp, pc, rp, *argp; db_sym_t sym; db_expr_t off; char *name; char **argnp, *argnames[HPPA_FRAME_NARGS]; + int nargs; if (count < 0) count = 65536; -- cgit v1.2.3