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