changeset 1729:3ee4c6d45c27 trunk

[svn] Fixed unused variable and missing type conversion
author js
date Sat, 16 Sep 2006 19:37:08 -0700
parents ce4322fee858
children 89ae48184e4b
files ChangeLog Plugins/Container/xspf/xspf.c Plugins/Visualization/paranormal/client.c
diffstat 3 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sat Sep 16 19:21:06 2006 -0700
+++ b/ChangeLog	Sat Sep 16 19:37:08 2006 -0700
@@ -1,3 +1,11 @@
+2006-09-17 02:21:06 +0000  Jonathan Schleifer <js@h3c.de>
+  revision [2393]
+  Add #undef FSCALE, since it's already defined on OpenBSD
+
+  Changes:        Modified:
+  +1 -0           trunk/Plugins/Input/timidity/libtimidity/options.h  
+
+
 2006-09-17 02:18:59 +0000  Jonathan Schleifer <js@h3c.de>
   revision [2391]
   #undef TRUE and FALSE before inclusion of mpcdec.h since both, GTK and mpcdev, define this, which leads to a hard error on OpenBSD
--- a/Plugins/Container/xspf/xspf.c	Sat Sep 16 19:21:06 2006 -0700
+++ b/Plugins/Container/xspf/xspf.c	Sat Sep 16 19:37:08 2006 -0700
@@ -366,7 +366,7 @@
 				str = g_malloc(128); // XXX fix me.
 				tmp = xmlNewNode(NULL, "meta");
 				xmlSetProp(tmp, "rel", "mtime");
-				sprintf(str, "%ld", entry->tuple->mtime);
+				sprintf(str, "%ld", (long) entry->tuple->mtime);
 				xmlAddChild(tmp, xmlNewText(str));
 				xmlAddChild(track, tmp);
 				g_free(str);
--- a/Plugins/Visualization/paranormal/client.c	Sat Sep 16 19:21:06 2006 -0700
+++ b/Plugins/Visualization/paranormal/client.c	Sat Sep 16 19:37:08 2006 -0700
@@ -82,7 +82,7 @@
 /* XMMS interface */
 static void pn_xmms_init (void);
 static void pn_xmms_cleanup (void);
-static void pn_xmms_about (void);
+/* static void pn_xmms_about (void); */
 static void pn_xmms_configure (void);
 static void pn_xmms_render_pcm (gint16 data[2][512]);
 static void pn_xmms_render_freq (gint16 data[2][256]);
@@ -212,11 +212,13 @@
   write_options ();
 }
 
+/*
 static void
 pn_xmms_about (void)
 {
-  /* FIXME: This needs to wait until XMMS supports GTK+ 2.0 */
+  // FIXME: This needs to wait until XMMS supports GTK+ 2.0
 }
+*/
 
 static void
 pn_xmms_configure (void)