diff options
| author | mrg <mrg@NetBSD.org> | 2000-04-14 08:22:49 +0000 |
|---|---|---|
| committer | mrg <mrg@NetBSD.org> | 2000-04-14 08:22:49 +0000 |
| commit | dfe176302ca9b2a55dc047ce91d604f7dbec1da7 (patch) | |
| tree | 405b373839b44dfd30c8b714a2a5dce434e6fc73 /sys/dev/sbus/lebuffer.c | |
| parent | f4be79ac40e3d43d16861ac76780497d879bc480 (diff) | |
add some casts to (u_long) to shut up gcc
Diffstat (limited to 'sys/dev/sbus/lebuffer.c')
| -rw-r--r-- | sys/dev/sbus/lebuffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sbus/lebuffer.c b/sys/dev/sbus/lebuffer.c index b4590fc9d70..f385be4aadf 100644 --- a/sys/dev/sbus/lebuffer.c +++ b/sys/dev/sbus/lebuffer.c @@ -1,4 +1,4 @@ -/* $NetBSD: lebuffer.c,v 1.6 2000/01/11 12:59:44 pk Exp $ */ +/* $NetBSD: lebuffer.c,v 1.7 2000/04/14 08:22:49 mrg Exp $ */ /*- * Copyright (c) 1998 The NetBSD Foundation, Inc. @@ -116,7 +116,7 @@ lebufattach(parent, self, aux) * Lance ring-buffers can be stored. Note the buffer's location * and size, so the `le' driver can pick them up. */ - sc->sc_buffer = (caddr_t)bh; + sc->sc_buffer = (caddr_t)(u_long)bh; sc->sc_bufsiz = sa->sa_size; node = sc->sc_node = sa->sa_node; |
