Author: olivier
Date: 2006-07-11 22:00:10 +0000 (Tue, 11 Jul 2006)
New Revision: 22409

Modified:
   libxfce4mcs/trunk/ChangeLog
   libxfce4mcs/trunk/docs/tmpl/mcs-client.sgml
   libxfce4mcs/trunk/libxfce4mcs/mcs-client.c
   libxfce4mcs/trunk/libxfce4mcs/mcs-manager.c
Log:
Fix compiler warnings (Nick Schermer <[EMAIL PROTECTED]>)

Modified: libxfce4mcs/trunk/ChangeLog
===================================================================
--- libxfce4mcs/trunk/ChangeLog 2006-07-11 21:59:55 UTC (rev 22408)
+++ libxfce4mcs/trunk/ChangeLog 2006-07-11 22:00:10 UTC (rev 22409)
@@ -1,3 +1,12 @@
+2006-04-16 08:22  benny
+
+       * ., AUTHORS, Makefile.am, configure.ac, docs, libxfce4mcs,
+         libxfce4mcs.spec.in: Update for 4.4beta1.
+
+2006-04-15 17:34  olivier
+
+       * ChangeLog: Update ChangeLog
+
 2006-02-25 08:37  kelnos
 
        * configure.ac, libxfce4mcs/Makefile.am, libxfce4mcs/mcs-client.c,

Modified: libxfce4mcs/trunk/docs/tmpl/mcs-client.sgml
===================================================================
--- libxfce4mcs/trunk/docs/tmpl/mcs-client.sgml 2006-07-11 21:59:55 UTC (rev 
22408)
+++ libxfce4mcs/trunk/docs/tmpl/mcs-client.sgml 2006-07-11 22:00:10 UTC (rev 
22409)
@@ -57,8 +57,6 @@
 @is_start: 
 @Param3: 
 @cb_data: Callback data passed to mcs_client_new().
-<!-- # Unused Parameters # -->
[EMAIL PROTECTED]: 
 
 
 <!-- ##### FUNCTION mcs_client_new ##### -->

Modified: libxfce4mcs/trunk/libxfce4mcs/mcs-client.c
===================================================================
--- libxfce4mcs/trunk/libxfce4mcs/mcs-client.c  2006-07-11 21:59:55 UTC (rev 
22408)
+++ libxfce4mcs/trunk/libxfce4mcs/mcs-client.c  2006-07-11 22:00:10 UTC (rev 
22409)
@@ -371,7 +371,7 @@
     buffer.pos = buffer.data = data;
     buffer.len = len;
 
-    result = fetch_card8 (&buffer, (gchar *) & buffer.byte_order);
+    result = fetch_card8 (&buffer, (CARD8 *) &buffer.byte_order);
     if (buffer.byte_order != MSBFirst && buffer.byte_order != LSBFirst)
     {
         fprintf (stderr, _("Invalid byte order in MCS property\n"));

Modified: libxfce4mcs/trunk/libxfce4mcs/mcs-manager.c
===================================================================
--- libxfce4mcs/trunk/libxfce4mcs/mcs-manager.c 2006-07-11 21:59:55 UTC (rev 
22408)
+++ libxfce4mcs/trunk/libxfce4mcs/mcs-manager.c 2006-07-11 22:00:10 UTC (rev 
22409)
@@ -429,7 +429,7 @@
 {
     gchar *name = NULL, *p;
     
-    p = strstr(data, "|");
+    p = strstr((gchar *)data, "|");
     if(p == (gchar *)data)
         name = g_strdup("");
     else if(p) {
@@ -437,7 +437,7 @@
         SnDisplay *sndpy;
         SnLauncheeContext *snctx;
 #endif
-        gchar **name_parts = g_strsplit(data, "|", 2);
+        gchar **name_parts = g_strsplit((gchar *)data, "|", 2);
         
         name = name_parts[0];
         
@@ -454,7 +454,7 @@
         sn_display_unref(sndpy);
 #endif
     } else
-        name = g_strdup(data);
+        name = g_strdup((gchar *)data);
     
     return name;
 }

_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to