On 15.08.2012 13:10, Evgeny Voevodin wrote:
> Casting of 0x0101010101010101ULL to long will truncate it to 32
> bits on 32bit hosts, and won't truncate on 64bit hosts.
>
> Signed-off-by: Evgeny Voevodin
> ---
> savevm.c |2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a
On 08/15/2012 01:30 PM, Peter Maydell wrote:
On 15 August 2012 10:10, Evgeny Voevodin wrote:
Casting of 0x0101010101010101ULL to long will truncate it to 32
bits on 32bit hosts, and won't truncate on 64bit hosts.
Signed-off-by: Evgeny Voevodin
Dup of http://patchwork.ozlabs.org/patch/177217
On 15 August 2012 10:10, Evgeny Voevodin wrote:
> Casting of 0x0101010101010101ULL to long will truncate it to 32
> bits on 32bit hosts, and won't truncate on 64bit hosts.
>
> Signed-off-by: Evgeny Voevodin
Dup of http://patchwork.ozlabs.org/patch/177217/ I'm afraid.
-- PMM
Casting of 0x0101010101010101ULL to long will truncate it to 32
bits on 32bit hosts, and won't truncate on 64bit hosts.
Signed-off-by: Evgeny Voevodin
---
savevm.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/savevm.c b/savevm.c
index 0ea10c9..9ab4d83 100644
--- a/savev