summaryrefslogtreecommitdiffabout
authorSergey Poznyakoff <gray@gnu.org.ua>2018-01-31 06:56:28 (GMT)
committer Sergey Poznyakoff <gray@gnu.org.ua>2018-01-31 06:56:28 (GMT)
commit2a684f1cdd7723c2ded277ea2c7e66227b6f3ae1 (patch) (side-by-side diff)
tree6e6265c4c8541afcac885b2ba71da27bd903be8c
parent4fef83230e851189fd3541f095c47a952968a411 (diff)
downloadvmod-dbrw-2a684f1cdd7723c2ded277ea2c7e66227b6f3ae1.tar.gz
vmod-dbrw-2a684f1cdd7723c2ded277ea2c7e66227b6f3ae1.tar.bz2
Minor fix
* src/dbrw.h (dbrw_backend.sql_get_column): Fix prototype.
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--src/dbrw.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dbrw.h b/src/dbrw.h
index 7a0ee52..1ff1056 100644
--- a/src/dbrw.h
+++ b/src/dbrw.h
@@ -41,8 +41,7 @@ struct dbrw_backend {
unsigned (*sql_num_tuples) (struct dbrw_connection *);
unsigned (*sql_num_fields) (struct dbrw_connection *);
int (*sql_free_result) (struct dbrw_connection *);
- const char *(*sql_get_column)(struct dbrw_connection *, unsigned,
- unsigned);
+ const char *(*sql_get_column)(struct dbrw_connection *, size_t, size_t);
int (*sql_idle_timeout)(struct dbrw_connection *);
};

Return to:

Send suggestions and report system problems to the System administrator.