b702e429a6
visual query tool for MySQL
22 lines
816 B
Plaintext
22 lines
816 B
Plaintext
$OpenBSD: patch-source_linux_MGResultSetModel_cc,v 1.1.1.1 2005/11/04 14:01:54 wilfried Exp $
|
|
--- source/linux/MGResultSetModel.cc.orig Thu Oct 13 10:22:40 2005
|
|
+++ source/linux/MGResultSetModel.cc Thu Nov 3 22:17:15 2005
|
|
@@ -384,7 +384,7 @@ void MGResultSetModel::get_value_vfunc (
|
|
{
|
|
bool tmp= _disable_checks;
|
|
gpointer data= NULL;
|
|
- gsize size= 0;
|
|
+ guint size= 0;
|
|
bool is_blob;
|
|
switch (_resultset->columns[column/2].column_type)
|
|
{
|
|
@@ -399,7 +399,7 @@ void MGResultSetModel::get_value_vfunc (
|
|
g_value_init(value, G_TYPE_STRING);
|
|
|
|
_disable_checks= true;
|
|
- if (get_value(iter_, column, data, size))
|
|
+ if (get_value(iter_, (unsigned int)column, data, size))
|
|
{
|
|
if ((column % 2) == 1) // color
|
|
{
|