changeset 2517:5fea66ad690c trunk

[svn] - fix a signed vs unsigned comparison
author nenolod
date Wed, 14 Feb 2007 10:48:52 -0800
parents a2b862cb4269
children 4c9910af4cc5
files ChangeLog src/audacious/build_stamp.c src/libaudacious/beepctrl.c
diffstat 3 files changed, 11 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Feb 14 06:42:50 2007 -0800
+++ b/ChangeLog	Wed Feb 14 10:48:52 2007 -0800
@@ -1,3 +1,11 @@
+2007-02-14 14:42:50 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
+  revision [4042]
+  - avoid double free while playing cdda.
+  
+  trunk/src/audacious/ui_fileinfopopup.c |    8 ++++++--
+  1 file changed, 6 insertions(+), 2 deletions(-)
+
+
 2007-02-13 21:22:51 +0000  Tony Vroon <chainsaw@gentoo.org>
   revision [4040]
   gtk_window_set_wmclass() has to be called before gtk_widget_realize(). Patched by Christian "Joker" Birchinger from Gentoo.
--- a/src/audacious/build_stamp.c	Wed Feb 14 06:42:50 2007 -0800
+++ b/src/audacious/build_stamp.c	Wed Feb 14 10:48:52 2007 -0800
@@ -1,2 +1,2 @@
 #include <glib.h>
-const gchar *svn_stamp = "20070213-4040";
+const gchar *svn_stamp = "20070214-4042";
--- a/src/libaudacious/beepctrl.c	Wed Feb 14 06:42:50 2007 -0800
+++ b/src/libaudacious/beepctrl.c	Wed Feb 14 10:48:52 2007 -0800
@@ -96,7 +96,7 @@
 
 static void
 remote_send_packet(gint fd, guint32 command, gpointer data,
-                   guint32 data_length)
+                   gsize data_length)
 {
     ClientPktHeader pkt_hdr;
 
@@ -111,7 +111,7 @@
         return;
     }
     if (data_length && data)
-        if( data_length != write(fd, data, data_length))
+        if( data_length != (gsize) write(fd, data, data_length))
         {
             g_warning("remote_send_packet: failed to write packet");
             return;