Browse Source

Merge commit '3f1bed6' into bfgminer

Luke Dashjr 12 years ago
parent
commit
7af98a834d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      miner.h

+ 1 - 1
miner.h

@@ -191,7 +191,7 @@ static inline int fsync (int fd)
 #endif
 
 #ifndef roundl
-#define roundl(x)   (long double)((long long)((x==0)?0.0:((x)+((x)>0)?0.5:-0.5)))
+#define roundl(x)   (long double)((long long)((x==0)?0.0:((x)+(((x)>0)?0.5:-0.5))))
 #endif
 
 enum alive {