mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-20 14:13:09 +00:00
parent
fa2cbdc7cb
commit
46a6cb680a
@ -35,7 +35,7 @@ namespace Genode
|
||||
size_t s_align = (size_t)s & 0x3;
|
||||
|
||||
/* at least 32 bytes, 4 byte aligned, same alignment */
|
||||
if (size < 32 || (d_align | s_align) || (d_align ^ s_align))
|
||||
if (size < 32 || (d_align ^ s_align))
|
||||
return size;
|
||||
|
||||
/* copy to 4 byte alignment */
|
||||
|
Loading…
Reference in New Issue
Block a user