• P
    qemu: Fix compilation error when enum variable size differs from 'int' · 27fd5598
    Peter Krempa 提交于
    Since commit bcd9a564 virDomainNumatuneGetMode returns the value
    via a pointer rather than in the return value. The change triggered
    problems with platforms where the compiler decides to use a data type of
    size different than integer at the point where we typecast it.
    
    Work around the issue by using an intermediate variable of the correct
    type that gets casted back by the default typecasting rules.
    27fd5598
qemu_driver.c 652.5 KB