atw.h was wrong, since word_size may contain a cast
This commit is contained in:
parent
cf28f45a59
commit
47249aaad3
|
@ -7,8 +7,4 @@
|
||||||
|
|
||||||
#include "sizes.h"
|
#include "sizes.h"
|
||||||
|
|
||||||
#if word_size==2 || word_size==4
|
|
||||||
#define ATW(arg) (((arg) + (word_size - 1)) & ~ (word_size - 1))
|
|
||||||
#else
|
|
||||||
#define ATW(arg) ((((arg) + ((int)word_size - 1)) / word_size) * word_size)
|
#define ATW(arg) ((((arg) + ((int)word_size - 1)) / word_size) * word_size)
|
||||||
#endif
|
|
||||||
|
|
Loading…
Reference in a new issue