I get this error when trying to debug my program

Error   : cannot convert
'int *' to
'unsigned char *'
Lord.cpp line 150
WinScreenMode(winScreenModeSet,NULL,NULL,NULL,&ScreenDepth,true);

I defined ScreenDepth like this:
int ScreenDepth;

Am I mistaken or isn't this the definition for WinScreenMode:
WinScreenMode(WinScreenModeOperation operation,
                            UInt32 *widthP, UInt32 *heightP, UInt32 *depthP,
                            Boolean *enableColorP);


--
Thanks in advance
--
Nikue Harlley
Veni Vidi Vici



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to