• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: discards qualifiers from pointer target type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: discards qualifiers from pointer target type
      • From: publiclook <email@hidden>
References: 
 >Re: discards qualifiers from pointer target type (From: Dan Bernstein <cocoa-dev%email@hidden>)

  • Prev by Date: Re: discards qualifiers from pointer target type
  • Next by Date: More on releasing NSImages
  • Previous by thread: Re: discards qualifiers from pointer target type
  • Next by thread: Re: discards qualifiers from pointer target type
  • Index(es):
    • Date
    • Thread