atw.h was wrong, since word_size may contain a cast
This commit is contained in:
		
							parent
							
								
									cf28f45a59
								
							
						
					
					
						commit
						47249aaad3
					
				
					 1 changed files with 0 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -7,8 +7,4 @@
 | 
			
		|||
 | 
			
		||||
#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)
 | 
			
		||||
#endif
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue