[libgdamm] SqlBuilder: Make definition and declaration of add_cond() match
- From: Armin Burgmeier <arminb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgdamm] SqlBuilder: Make definition and declaration of add_cond() match
- Date: Fri, 9 Apr 2010 11:35:04 +0000 (UTC)
commit 2d8c624288ab3436d62e56e9aa4c9703bec2bfb1
Author: Armin Burgmeier <armin arbur net>
Date: Fri Apr 9 13:31:01 2010 +0200
SqlBuilder: Make definition and declaration of add_cond() match
* libgda/src/sqlbuilder.ccg (add_cond): Fix function header signature
to match the declaration in the header (uint->guint), fixing the
Windows build.
ChangeLog | 8 ++++++++
libgda/src/sqlbuilder.ccg | 2 +-
2 files changed, 9 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index afcb4bf..8959851 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2010-04-09 Armin Burgmeier <armin arbur net>
+
+ SqlBuilder: Make definition and declaration of add_cond() match
+
+ * libgda/src/sqlbuilder.ccg (add_cond): Fix function header signature
+ to match the declaration in the header (uint->guint), fixing the
+ Windows build.
+
2010-03-29 Murray Cumming <murrayc murrayc com>
SqlBuilder: Added select_set_dictinct() and select_sect_limit().
diff --git a/libgda/src/sqlbuilder.ccg b/libgda/src/sqlbuilder.ccg
index c139c49..cc87aa9 100644
--- a/libgda/src/sqlbuilder.ccg
+++ b/libgda/src/sqlbuilder.ccg
@@ -70,7 +70,7 @@ guint SqlBuilder::add_cond(SqlOperatorType op, guint op1, guint op2, guint op3)
return gda_sql_builder_add_cond(gobj(), 0, (GdaSqlOperatorType) op, op1, op2, op3);
}
-guint SqlBuilder::add_cond(SqlOperatorType op, const Glib::ArrayHandle<uint>& op_ids)
+guint SqlBuilder::add_cond(SqlOperatorType op, const Glib::ArrayHandle<guint>& op_ids)
{
return gda_sql_builder_add_cond_v(gobj(), 0, (GdaSqlOperatorType) op, op_ids.data(), op_ids.size());
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]