← Back to team overview

t-kernel team mailing list archive

Re: Could someone patch event.h for me?

 

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@xxxxxxxxx
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@xxxxxxxxxxxxxxxxxx
PGP     : Public key available on request.

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

_______________________________________________
users mailing list
users@xxxxxxxxx
http://lists.rtems.org/mailman/listinfo/users