How do I eliminate this error. I am using WinSetPattern(myPattern)
and am getting a warning saying that my cast points to an array type.
I checked the window.h header for CustomPatternType and see it as:
typedef UInt8 CustomPatternType [8];
I have a similar array for my pattern as:
UInt8 myPattern[8] = {0xAA,0x55,0xAA,0x55,0xAA,0x55,0xAA,0x55};
and I use: WinSetPattern((CustomPatternType) myPattern);
This generates the pointer to array cast warning. How do I eliminate
this? Am I using patterns incorrectly?
Thanks
--
-----------------------------------------------------------------
Discussion Group: http://www.halcyon.com/ipscone/wwwboard/
Protect your constitutional rights. Your favorite one may be next!
-----------------------------------------------------------------
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html