Author: drzeus
Date: 2005-03-22 00:30:00 +0100 (Tue, 22 Mar 2005)
New Revision: 390
Modified:
trunk/opensync/opensync_db.c
Log:
Another gcc4 fix.
Modified: trunk/opensync/opensync_db.c
===================================================================
--- trunk/opensync/opensync_db.c 2005-03-21 23:02:58 UTC (rev 389)
+++ trunk/opensync/opensync_db.c 2005-03-21 23:30:00 UTC (rev 390)
@@ -103,7 +103,7 @@
sqlite3_prepare(sdb, "SELECT uid, memberid, changetype FROM tbl_log", -1, &ppStmt, NULL);
int i = 0;
while (sqlite3_step(ppStmt) == SQLITE_ROW) {
- (*uids)[i] = g_strdup(sqlite3_column_text(ppStmt, 0));
+ (*uids)[i] = g_strdup((gchar*)sqlite3_column_text(ppStmt, 0));
(*memberids)[i] = sqlite3_column_int64(ppStmt, 1);
(*changetypes)[i] = sqlite3_column_int(ppStmt, 2);
i++;
|