Re: discards qualifiers from pointer target type
Re: discards qualifiers from pointer target type
- Subject: Re: discards qualifiers from pointer target type
- From: Chuck Rice <email@hidden>
- Date: Sat, 1 Mar 2003 11:37:09 -0800
At 9:22 PM +0200 3/1/03, Dan Bernstein wrote:
Because NSString's cString method is defined
- (const char *)cString
and sendLCDcmd takes a char *.
[self sendLCDcmd:(char *)[[NSString
stringWithFormat:@"%s%c",BACKLIGHTON,p] cString]];
Fixed it. Thanks! -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.