]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - para.h
Auxiliary functions to parse and validate parts of URIs.
[paraslash.git] / para.h
diff --git a/para.h b/para.h
index fcc24746be9b18d5460292b42504898106131689..06eb8b30f617104051fb3260e5b17c261a04ec17 100644 (file)
--- a/para.h
+++ b/para.h
@@ -230,7 +230,8 @@ 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]))