Re: discards qualifiers from pointer target type
Re: discards qualifiers from pointer target type
- Subject: Re: discards qualifiers from pointer target type
- From: Don Murta <email@hidden>
- Date: Sat, 01 Mar 2003 12:25:42 -0700
Because cString returns a const char * and you are using it as a char
*. Cast it to get rid of the warning or fix up the sendLCDcmd to
receive a const char * instead.
hope that helps.
don.
On Saturday, March 1, 2003, at 12:10 PM, Chuck Rice wrote:
Can someone tell me why I am getting:
warning: passing arg 1 of `sendLCDcmd:'
discards qualifiers from pointer target type
mean? The warning occurs in:
<snip>
The code runs fine, but warnings make me uncomfortable. -Chuck-
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.