Author: leo
Date: Mon Oct 24 16:09:21 2005
New Revision: 9551

Modified:
   trunk/include/parrot/interpreter.h
Log:
add one missing parens in macros

Modified: trunk/include/parrot/interpreter.h
==============================================================================
--- trunk/include/parrot/interpreter.h  (original)
+++ trunk/include/parrot/interpreter.h  Mon Oct 24 16:09:21 2005
@@ -422,7 +422,7 @@ typedef enum {
 #  define REG_OFFS_NUM(x) (sizeof(FLOATVAL) * (-1L - (x)))
 #  define REG_OFFS_INT(x) (sizeof(INTVAL) * (x))
 #  define REG_OFFS_PMC(x) (_SIZEOF_INTS + sizeof(PMC*) * \
-        (__CTX->n_regs_used[REGNO_PMC] - 1L - x))
+        (__CTX->n_regs_used[REGNO_PMC] - 1L - (x)))
 #  define REG_OFFS_STR(x) (sizeof(STRING*) * (x) + _SIZEOF_INTS + _SIZEOF_PMCS 
)
 
 

Reply via email to