diff -rNu rb/apps/fracmul.h rb_fix/apps/fracmul.h
--- rb/apps/fracmul.h 2011-04-17 15:49:42.128376500 +0800
+++ rb_fix/apps/fracmul.h 2011-05-17 14:45:14.078125000 +0800
@@ -84,9 +84,9 @@
#else
-#define FRACMUL(x, y) (long) (((((long long) (x)) * ((long long) (y))) >> 31))
+#define FRACMUL(x, y) (long) (((((long long)((long)(x))) * ((long long)((long)(y)))) >> 31))
#define FRACMUL_SHL(x, y, z) \
-((long)(((((long long) (x)) * ((long long) (y))) >> (31 - (z)))))
+((long)(((((long long)((long)(x))) * ((long long)((long)(y)))) >> (31 - (z)))))
#endif