Browse Source
Avoid truncation of a 64-bit long to a 32-bit int, and check for errno (especially ERANGE). Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>pull/21/head
committed by
Michael Tokarev
1 changed files with 3 additions and 2 deletions
Loading…
Reference in new issue