5e06a4f conf: Fix virtType check

Authored and Committed by John Ferlan 8 years ago
    conf: Fix virtType check
    
    Commit id '7383b8cc' changed virDomainDef 'virtType' to an enum, that
    caused a build failure on some archs due to comparing an unsigned value
    to < 0.  Adjust the fetch of 'type' to be into temporary 'int virtType'
    and then assign that virtType to the def->virtType
    
        
file modified
+3 -2