SOURCES: gnucash-types.patch - updated for 0.8.12

qboosh qboosh at pld-linux.org
Tue Oct 25 10:22:52 CEST 2005


Author: qboosh                       Date: Tue Oct 25 08:22:52 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 0.8.12

---- Files affected:
SOURCES:
   gnucash-types.patch (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SOURCES/gnucash-types.patch
diff -u SOURCES/gnucash-types.patch:1.2 SOURCES/gnucash-types.patch:1.3
--- SOURCES/gnucash-types.patch:1.2	Mon Mar 28 18:22:53 2005
+++ SOURCES/gnucash-types.patch	Tue Oct 25 10:22:46 2005
@@ -296,3 +296,42 @@
     iguid ++;
  
     sprintf(buff, "CREATE SEQUENCE gnc_iguid_seq START %d;", iguid);
+--- gnucash-1.8.12/src/import-export/hbci/gnc-hbci-utils.c.orig	2005-10-25 09:41:37.000000000 +0200
++++ gnucash-1.8.12/src/import-export/hbci/gnc-hbci-utils.c	2005-10-25 09:40:52.000000000 +0200
+@@ -904,7 +904,7 @@
+ {
+   char *inbuffer = (char*)input;
+   char *outbuffer, *outbufferstart;
+-  int inbytes, outbytes;
++  size_t inbytes, outbytes;
+ 
+   inbytes = strlen(inbuffer);
+   outbytes = inbytes + 2;
+--- gnucash-1.8.12/src/import-export/hbci/hbci-interaction.c.orig	2005-08-16 21:56:55.000000000 +0200
++++ gnucash-1.8.12/src/import-export/hbci/hbci-interaction.c	2005-10-25 09:43:29.000000000 +0200
+@@ -474,14 +474,14 @@
+   g_assert(data);
+ 
+   if (id > 0) {
+-    dialog = g_hash_table_lookup(data->showbox_hash, (gpointer)id);
++    dialog = g_hash_table_lookup(data->showbox_hash, (gpointer)(size_t)id);
+   } else {
+     dialog = data->showbox_last;
+   }
+   if (dialog) {
+     gnome_dialog_close (GNOME_DIALOG (dialog));
+     gtk_widget_destroy (dialog);
+-    g_hash_table_remove(data->showbox_hash, (gpointer)id);
++    g_hash_table_remove(data->showbox_hash, (gpointer)(size_t)id);
+   }
+ }
+ 
+@@ -510,7 +510,7 @@
+   gtk_widget_show_all (dialog);
+ 
+   result = data->showbox_id;
+-  g_hash_table_insert(data->showbox_hash, (gpointer)result, dialog);
++  g_hash_table_insert(data->showbox_hash, (gpointer)(size_t)result, dialog);
+   data->showbox_id++;
+   data->showbox_last = dialog;
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/gnucash-types.patch?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list