mirror of
				https://codeberg.org/1414codeforge/ubgpsuite.git
				synced 2025-06-05 21:29:11 +02:00 
			
		
		
		
	[lonetix/xpt] Minor style fix, do not use uintptr_t directly
This commit is contained in:
		| @@ -266,9 +266,9 @@ typedef uintptr_t Uintptr;  ///< Fixed-size unsigned type large enough to store | |||||||
| #define ALIGN_DOWN(x, align) \ | #define ALIGN_DOWN(x, align) \ | ||||||
| 	ALIGN((x) - ((align) - 1), align) | 	ALIGN((x) - ((align) - 1), align) | ||||||
| #define ALIGN_PTR(p, align) \ | #define ALIGN_PTR(p, align) \ | ||||||
| 	((void *) ALIGN((uintptr_t) (p), align)) | 	((void *) ALIGN((Uintptr) (p), align)) | ||||||
| #define ALIGN_PTR_DOWN(p, align) \ | #define ALIGN_PTR_DOWN(p, align) \ | ||||||
| 	((void *) ALIGN_DOWN((uintptr_t) (p), align)) | 	((void *) ALIGN_DOWN((Uintptr) (p), align)) | ||||||
|  |  | ||||||
| #define IS_ALIGNED(x, align)     (((x) & ((align) - 1)) == 0) | #define IS_ALIGNED(x, align)     (((x) & ((align) - 1)) == 0) | ||||||
| #define IS_PTR_ALIGNED(p, align) IS_ALIGNED((Uintptr) p, align) | #define IS_PTR_ALIGNED(p, align) IS_ALIGNED((Uintptr) p, align) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user