Mercurial > audlegacy
diff Plugins/Visualization/paranormal/pn/pnscript.c @ 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 | 6647d5cc717c |
children |
line wrap: on
line diff
--- 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: