[PATCH] libchip/rtc: Fixed 19 compiler warnings

Sebastian Huber sebastian.huber at embedded-brains.de
Fri Mar 1 15:31:44 UTC 2013


On 03/01/2013 04:16 PM, Jennifer Averett wrote:
> Building for the sis... this looks like it is broken.
>
> icm7170_reg.c defines
>
> void  _ICM7170_NAME(icm7170_set_register)(
>    uintptr_t   ulCtrlPort,
>    uint8_t     ucRegNum,
>    uint32_t    ucData
> )
>
> icm7170.h
>
> void  icm7170_set_register_2(
>    uint32_t    ulCtrlPort,
>    uint8_t     ucRegNum,
>    uint32_t    ucData
> );
>
>
> Which one is correct?

The uintptr_t version is correct.  I fixed it.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list