diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-25 12:53:13 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-05-25 12:53:13 +0000 |
commit | cb24579c130ae359b0f11df2e315bde5406522e4 (patch) | |
tree | 89dca089b93c4d851330d3e78658512bc7d876b2 | |
parent | 0389f516bf02b5713f6573c8e01ea447e4a9e861 (diff) |
Make this build when using the __STRICT_ALIGNMENT version of USETW.
-rw-r--r-- | sys/dev/usb/uoak_subr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uoak_subr.c b/sys/dev/usb/uoak_subr.c index 8db59a0426a..ab2ddbda288 100644 --- a/sys/dev/usb/uoak_subr.c +++ b/sys/dev/usb/uoak_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uoak_subr.c,v 1.6 2015/03/14 03:38:50 jsg Exp $ */ +/* $OpenBSD: uoak_subr.c,v 1.7 2015/05/25 12:53:12 jsg Exp $ */ /* * Copyright (c) 2012 Yojiro UO <yuo@nui.org> @@ -187,7 +187,7 @@ uoak_set_sample_rate(struct uoak_softc *sc, enum uoak_target target, int rate) sc->sc_rcmd.val[0] = (uint8_t)(rate & 0xff); sc->sc_rcmd.val[1] = (uint8_t)((rate >> 8) & 0xff) #else - USETW(&sc->sc_rcmd.val, rate); + USETW(sc->sc_rcmd.val, rate); #endif if (uoak_set_cmd(sc) < 0) |