..., and fix new warning on i386.

This commit is contained in:
enami 2000-12-13 11:07:16 +00:00
parent e7d5c1b188
commit f0f66cd139
1 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: iopctl.c,v 1.3 2000/12/13 10:56:43 mrg Exp $ */
/* $NetBSD: iopctl.c,v 1.4 2000/12/13 11:07:16 enami Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -38,7 +38,7 @@
#ifndef lint
#include <sys/cdefs.h>
__RCSID("$NetBSD: iopctl.c,v 1.3 2000/12/13 10:56:43 mrg Exp $");
__RCSID("$NetBSD: iopctl.c,v 1.4 2000/12/13 11:07:16 enami Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -214,7 +214,7 @@ getparam(int tid, int group, void *pbuf, int pbufsize)
req.oat.fieldcount = htole16(0xffff);
req.oat.group = htole16(group);
printf("%ld\n", sizeof(mb));
printf("%ld\n", (long)sizeof(mb));
pt.pt_msg = &mb;
pt.pt_msglen = sizeof(mb);