From: "Konstantin Klyatskin" <[EMAIL PROTECTED]>
> #define nextQEvent (firstUserEvent+1)
>
> void pushEvent() {
> EventType e;
> e.eType = nextQEvent; // this is problem line
> EvtAddEventToQueue(&e);
> }
>
> produces Warning: illegal implicit enum conversion from 'unsigned int' to
> 'enum$47Starter_c'.
static void pushEvent( void )
{
EventType e;
MemSet(&e, sizeof(EventType), 0);
e.eType = (eventsEnum)nextQEvent; // fixed!
EvtAddEventToQueue(&e);
}
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/