mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-26 21:14:36 +00:00
Revert "pad_to_int32"
This reverts commit 16527c5de3978610c6a500eb8ca24430229028c3.
This commit is contained in:
@@ -184,10 +184,10 @@ bytes_to_int32(const size_t bytes)
|
||||
* @param bytes The minimum number of bytes needed.
|
||||
* @return The closest multiple of 4 that is equal or higher than bytes.
|
||||
*/
|
||||
static inline size_t
|
||||
pad_to_int32(const size_t bytes)
|
||||
static inline int
|
||||
pad_to_int32(const int bytes)
|
||||
{
|
||||
return (((bytes) + 3) & ~((size_t)3));
|
||||
return (((bytes) + 3) & ~3);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user