From f474f59dc41ff5533ecd91c575d307929c565ee3 Mon Sep 17 00:00:00 2001 From: KATO Takenori Date: Thu, 16 Jul 1998 10:26:59 +0000 Subject: [PATCH] Sync with sys/i386/i386/userconfig.c revision 1.104. --- sys/pc98/i386/userconfig.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sys/pc98/i386/userconfig.c b/sys/pc98/i386/userconfig.c index a8ccfafe2a94..fc799979c375 100644 --- a/sys/pc98/i386/userconfig.c +++ b/sys/pc98/i386/userconfig.c @@ -46,7 +46,7 @@ ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF ** THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ** - ** $Id: userconfig.c,v 1.47 1998/03/10 12:52:55 kato Exp $ + ** $Id: userconfig.c,v 1.48 1998/03/31 09:37:44 kato Exp $ **/ /** @@ -2394,7 +2394,7 @@ visuserconfig(void) * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: userconfig.c,v 1.47 1998/03/10 12:52:55 kato Exp $ + * $Id: userconfig.c,v 1.48 1998/03/31 09:37:44 kato Exp $ */ #include "scbus.h" @@ -2638,7 +2638,7 @@ parse_args(char *cmd, CmdParm *parms) continue; } if (parms->type == PARM_ADDR) { - parms->parm.aparm = (void *)strtoul(cmd, &ptr, 0); + parms->parm.aparm = (void *)(uintptr_t)strtoul(cmd, &ptr, 0); if (cmd == ptr) { printf("Invalid address argument\n"); return 1;