Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @@ identifier tmp; expression ptr; expression y; @@
- - tmp = cpu_to_le16(y);
- ...
- - memcpy(ptr, &tmp, ...);
- + put_unaligned_le16(y,ptr);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement