On Nov 02 2016, Paolo Bonzini <[email protected]> wrote:

> +#define sum_get_unaligned_32(r, p)              \
> +  do {                                          \
> +    unsigned int val;                           \
> +    memcpy(&val, (p), 4);                       \
> +    (r) += val;                                 \
> +  } while(0);

That should use a fixed-size type.

Andreas.

-- 
Andreas Schwab, SUSE Labs, [email protected]
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."

_______________________________________________
Bug-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to