Could someone patch event.h for me?
Sebastian Huber
sebastian.huber at embedded-brains.de
Fri Apr 22 05:36:06 UTC 2016
It should be UINT32_C(0x80000000), however, we have to check if this is
available in all relevant C++ standard revisions.
On 22/04/16 01:00, Mr. Andrei Chichak wrote:
> I was just linting some code and I got a hit on:
>
> …/lib/include/rtems/rtems/event.h
>
> /** @brief Defines the bit in the event set associated with event 31. */
> *#define* RTEMS_EVENT_31 0x80000000
>
>
> 0x80000000 should be unsigned, but it really isn’t. It needs a
> trailing ‘U’
>
> (along with the other event defines)
>
> Thanks,
> Andrei from The Great White North
>
>
> _______________________________________________
> users mailing list
> users at rtems.org
> http://lists.rtems.org/mailman/listinfo/users
--
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 users
mailing list