Index: /usr/src/FreeBSD-current/src/sys/dev/gpio/gpioiic.c =================================================================== --- /usr/src/FreeBSD-current/src/sys/dev/gpio/gpioiic.c (revision 296448) +++ /usr/src/FreeBSD-current/src/sys/dev/gpio/gpioiic.c (working copy) @@ -157,7 +157,7 @@ int error, how; how = GPIOBUS_DONTWAIT; - if (data != NULL && (int)*data == IIC_WAIT) + if (data != NULL && *(int *)data == IIC_WAIT) how = GPIOBUS_WAIT; error = 0; switch (index) {