summaryrefslogtreecommitdiff
path: root/sys/kern/subr_scanf.c
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1999-08-24 00:56:50 +0000
committerBruce Evans <bde@FreeBSD.org>1999-08-24 00:56:50 +0000
commitd009ccfaf572fa12401b7a0b3951195c00ec4557 (patch)
tree193ff6887002e9f0215710506aec1cb2b9478cd7 /sys/kern/subr_scanf.c
parentff0061bb1da324de656296d13d25056902bd0533 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_scanf.c')
-rw-r--r--sys/kern/subr_scanf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/subr_scanf.c b/sys/kern/subr_scanf.c
index 6d65d98720bf..8b1f7404c26d 100644
--- a/sys/kern/subr_scanf.c
+++ b/sys/kern/subr_scanf.c
@@ -33,7 +33,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: subr_scanf.c,v 1.4 1999/01/29 08:09:32 dillon Exp $
+ * $Id: subr_scanf.c,v 1.5 1999/02/14 20:58:21 dillon Exp $
* From: Id: vfscanf.c,v 1.13 1998/09/25 12:20:27 obrien Exp
*/
@@ -517,7 +517,7 @@ literal:
res = (*ccfn)(buf, (const char **)NULL, base);
if (flags & POINTER)
*va_arg(ap, void **) =
- (void *)(u_long)res;
+ (void *)(uintptr_t)res;
else if (flags & SHORT)
*va_arg(ap, short *) = res;
else if (flags & LONG)