I have the following bind statement for binding an SQLite column. I want to save this value into an NSString named journeyName. For this I have written the following statement:
NSString * journeyName = sqlite3_bind_text( compiledStatement, 1,
[Gjourney UTF8String], -1,
SQLITE_TRANSIENT );
This gives me a warning that
initialization makes pointer from integer without a cast
and my app crashes.
Try this.
For Reference – sample code