sqlite: return char* not void *
This commit is contained in:
parent
215c9e9123
commit
60b4f42891
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ public:
|
|||
return (const char*) sqlite3_column_text (stmt_, col);
|
||||
}
|
||||
|
||||
const void* column_blob (int col, int& bytes)
|
||||
const char* column_blob (int col, int& bytes)
|
||||
{
|
||||
bytes = sqlite3_column_bytes (stmt_, col);
|
||||
return (const char*) sqlite3_column_blob (stmt_, col);
|
||||
|
|
Loading…
Reference in a new issue