Re: warning: initialization makes integer from pointer without a cast

2008-08-21 Thread Simone Tellini
Il giorno 21/ago/08, alle ore 15:42, Stuart Green ha scritto: const char cUserName = [username UTF8String]; const char cEmail = [email UTF8String]; However, come the build, I get warning: initialization makes integer from pointer without a cast I thought I was doing

Re: warning: initialization makes integer from pointer without a cast

2008-08-21 Thread Dave DeLong
(for > a C API) so I'm using: > >const char cUserName = [username UTF8String]; >const char cEmail = [email UTF8String]; > > However, come the build, I get > >warning: initialization makes integer from pointer

warning: initialization makes integer from pointer without a cast

2008-08-21 Thread Stuart Green
e function, I need to convert the NSStrings back to C Strings (for a C API) so I'm using: const char cUserName = [username UTF8String]; const char cEmail = [email UTF8String]; However, come the build, I get warning: initialization makes integer from pointer wi