diff options
Diffstat (limited to 'lib/ephy-sqlite-statement.c')
-rw-r--r-- | lib/ephy-sqlite-statement.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/ephy-sqlite-statement.c b/lib/ephy-sqlite-statement.c index 795887977..41f274860 100644 --- a/lib/ephy-sqlite-statement.c +++ b/lib/ephy-sqlite-statement.c @@ -21,8 +21,7 @@ #include "ephy-sqlite-connection.h" #include <sqlite3.h> -enum -{ +enum { PROP_0, PROP_PREPARED_STATEMENT, PROP_CONNECTION, @@ -236,13 +235,13 @@ ephy_sqlite_statement_get_column_as_double (EphySQLiteStatement *self, int colum return sqlite3_column_double (self->prepared_statement, column); } -const char* +const char * ephy_sqlite_statement_get_column_as_string (EphySQLiteStatement *self, int column) { - return (const char*) sqlite3_column_text (self->prepared_statement, column); + return (const char *)sqlite3_column_text (self->prepared_statement, column); } -const void* +const void * ephy_sqlite_statement_get_column_as_blob (EphySQLiteStatement *self, int column) { return sqlite3_column_blob (self->prepared_statement, column); |