kvm: selftests: avoid type punning
Avoid warnings from -Wstrict-aliasing by using memcpy. Reviewed-by:Thomas Huth <thuth@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Showing
Please register or sign in to comment
Avoid warnings from -Wstrict-aliasing by using memcpy. Reviewed-by:Thomas Huth <thuth@redhat.com> Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>