Skip to content

Commit

Permalink
sqlite: fix compilation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
saghul committed Oct 5, 2023
1 parent 2d533f0 commit 1f94811
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/_sqlite3.c
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ static JSValue tjs__stmt2obj(JSContext *ctx, TJSSqlite3Stmt *h) {
break;
}
case SQLITE3_TEXT: {
value = JS_NewString(ctx, sqlite3_column_text(h->stmt, i));
value = JS_NewString(ctx, (const char *) sqlite3_column_text(h->stmt, i));
break;
}
case SQLITE_BLOB: {
Expand Down

0 comments on commit 1f94811

Please sign in to comment.