changeset 1604:1423ab8e5cbc trunk

[svn] Fix up the warning fixes; by Torbj«Órn Svensson (a.k.a. Azoff on #audacious).
author chainsaw
date Sun, 27 Aug 2006 09:04:05 -0700
parents 0f2ca8c7cd98
children ce3ce44d6814
files ChangeLog Plugins/Visualization/paranormal/pn/pnscript.c
diffstat 2 files changed, 13 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Aug 27 07:39:25 2006 -0700
+++ b/ChangeLog	Sun Aug 27 09:04:05 2006 -0700
@@ -1,3 +1,12 @@
+2006-08-27 14:39:25 +0000  William Pitcock <nenolod@nenolod.net>
+  revision [2137]
+  - version update
+  
+
+  Changes:        Modified:
+  +1 -1           trunk/configure.ac  
+
+
 2006-08-27 12:30:12 +0000  Yoshiki Yazawa <yaz@cc.rim.or.jp>
   revision [2135]
   - correct a typo that Joker pointed out. thanks Joker!
--- a/Plugins/Visualization/paranormal/pn/pnscript.c	Sun Aug 27 07:39:25 2006 -0700
+++ b/Plugins/Visualization/paranormal/pn/pnscript.c	Sun Aug 27 09:04:05 2006 -0700
@@ -179,7 +179,7 @@
   guint *op;
   gdouble stack[64];
   guint stack_top = 0;
-  guint temp;
+  gdouble temp;
 
   g_return_if_fail (script != NULL);
   g_return_if_fail (PN_IS_SCRIPT (script));
@@ -211,19 +211,19 @@
       case PN_OP_ADD:
 	/* PEEKN (2) += POPV; */
 	temp = POPV;
-	PEEKN(2) += temp;
+	PEEKN(1) += temp;
 	break;
 
       case PN_OP_SUB:
 	/* PEEKN (2) -= POPV; */
 	temp = POPV;
-	PEEKN(2) -= temp;
+	PEEKN(1) -= temp;
 	break;
 
       case PN_OP_MUL:
 	/* PEEKN (2) *= POPV; */
 	temp = POPV;
-	PEEKN(2) *= temp;
+	PEEKN(1) *= temp;
 	break;
 
       case PN_OP_DIV: