Package: mysql-query-browser
Version: 1.1.12
Followup-For: Bug #316285

Attaching patch...

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.4.27-dsa-itanium-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
diff -ur mysql-query-browser-1.1.12.old/mysql-query-browser/source/linux/MGResultSetModel.cc mysql-query-browser-1.1.12/mysql-query-browser/source/linux/MGResultSetModel.cc
--- mysql-query-browser-1.1.12.old/mysql-query-browser/source/linux/MGResultSetModel.cc	2005-06-01 22:19:03.000000000 -0500
+++ mysql-query-browser-1.1.12/mysql-query-browser/source/linux/MGResultSetModel.cc	2005-07-05 16:15:10.000000000 -0500
@@ -153,7 +153,7 @@
   if (!parent)
   {
     iter->stamp= _stamp;
-    iter->user_data= (gpointer)n;
+    iter->user_data= (gpointer)(long)n;
     return true;
   }
   iter->stamp= 0;
@@ -217,7 +217,7 @@
     }
   }
   iter->stamp= _stamp;
-  iter->user_data= (gpointer)row_index;
+  iter->user_data= (gpointer)(long)row_index;
 
   return true;
 }
@@ -349,7 +349,7 @@
     {
       bool tmp= _disable_checks;
       gpointer data= NULL;
-      gsize size= 0;
+      guint size= 0;
       bool is_blob;
       switch (_resultset->columns[column/2].column_type)
       {
@@ -487,7 +487,7 @@
 
   // make new iterator
   iter.gobj()->stamp= _stamp;
-  iter.gobj()->user_data= (gpointer)new_row;
+  iter.gobj()->user_data= (gpointer)(long)new_row;
 
   // emit signal
   row_inserted(get_path(iter), iter);
diff -ur mysql-query-browser-1.1.12.old/mysql-query-browser/source/linux/MQResultSetView.cc mysql-query-browser-1.1.12/mysql-query-browser/source/linux/MQResultSetView.cc
--- mysql-query-browser-1.1.12.old/mysql-query-browser/source/linux/MQResultSetView.cc	2005-06-15 12:35:42.000000000 -0500
+++ mysql-query-browser-1.1.12/mysql-query-browser/source/linux/MQResultSetView.cc	2005-07-05 16:25:37.000000000 -0500
@@ -1866,7 +1866,7 @@
 void MQResultSetView::blob_edit(CellRendererBlob *cell, Gtk::Widget *widget, const Glib::ustring &path, int column)
 {
   gpointer fdata; 
-  gsize fsize; 
+  guint fsize; 
   Gtk::TreeIter iter= _model->get_iter(Gtk::TreePath(path));
 
   if (_model->get_value(iter, column, fdata, fsize))
@@ -1891,7 +1891,7 @@
 void MQResultSetView::blob_save(CellRendererBlob *cell, Gtk::Widget *widget, const Glib::ustring &path, int column)
 {
   gpointer fdata; 
-  gsize fsize;
+  guint fsize;
   Gtk::TreeIter iter= _model->get_iter(Gtk::TreePath(path));
 
   if (_model->get_value(iter, column, fdata, fsize))
@@ -1965,7 +1965,7 @@
 void MQResultSetView::blob_view(CellRendererBlob *cell, Gtk::Widget *widget, const Glib::ustring &path, int column)
 {
   gpointer fdata; 
-  gsize fsize; 
+  guint fsize; 
   Gtk::TreeIter iter= _model->get_iter(Gtk::TreePath(path));
 
   if (_model->get_value(iter, column, fdata, fsize))
Only in mysql-query-browser-1.1.12.old/mysql-query-browser/source/linux/gtksourceview: libtool

Reply via email to