projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50eb5f3
)
ROUND_UP: Add missing parentheses().
author
Andre Noll
<maan@systemlinux.org>
Fri, 28 Dec 2007 12:54:53 +0000
(13:54 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Fri, 28 Dec 2007 12:54:53 +0000
(13:54 +0100)
para.h
patch
|
blob
|
history
diff --git
a/para.h
b/para.h
index 0cb1538d2725fd79c7de01871bcb617bcd73c706..6a90e55bbc17a3256f4d17fef506150e4f300d8d 100644
(file)
--- a/
para.h
+++ b/
para.h
@@
-213,7
+213,7
@@
static inline long int para_random(unsigned max)
}
/** Round up x to a multiple of y */
-#define ROUND_UP(x, y) (((x) + (
y
- 1) / (y)) * (y))
+#define ROUND_UP(x, y) (((x) + (
(y)
- 1) / (y)) * (y))
/** Get the size of an array */
#define ARRAY_SIZE(x) (sizeof(x) / sizeof((x)[0]))