diff --git a/ase/macros.h b/ase/macros.h index 228485c2..ae388035 100644 --- a/ase/macros.h +++ b/ase/macros.h @@ -1,5 +1,5 @@ /* - * $Id: macros.h,v 1.20 2005-04-02 15:10:48 bacon Exp $ + * $Id: macros.h,v 1.21 2005-04-02 15:36:02 bacon Exp $ */ #ifndef _XP_MACROS_H_ @@ -40,7 +40,7 @@ #define XP_REPEAT(n,blk) \ do { \ - xp_size_t __xp_repeat_x1 = (n); \ + xp_size_t __xp_repeat_x1 = (xp_size_t)(n); \ xp_size_t __xp_repeat_x2 = __xp_repeat_x1 >> 4; \ __xp_repeat_x1 &= 15; \ while (__xp_repeat_x1-- > 0) { blk; } \