Make varaddr parameter a void *

This commit is contained in:
whydoubt
2005-10-17 12:10:07 +00:00
parent 8b9438dff5
commit a5094f778d
3 changed files with 6 additions and 5 deletions

View File

@@ -714,7 +714,7 @@ int found = 0;
}
void
mdb_sql_bind_column(MdbSQL *sql, int colnum, char *varaddr, int *len_ptr)
mdb_sql_bind_column(MdbSQL *sql, int colnum, void *varaddr, int *len_ptr)
{
MdbSQLColumn *sqlcol;
@@ -728,7 +728,7 @@ mdb_sql_bind_all(MdbSQL *sql)
unsigned int i;
for (i=0;i<sql->num_columns;i++) {
sql->bound_values[i] = (char *) g_malloc0(MDB_BIND_SIZE);
sql->bound_values[i] = g_malloc0(MDB_BIND_SIZE);
mdb_sql_bind_column(sql, i+1, sql->bound_values[i], NULL);
}
}