Fix default int to 16-bit
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Danny Bessems 2021-05-11 11:56:11 +02:00
parent ec1aa6ab85
commit 68f5b15d67

View File

@ -233,7 +233,7 @@ ForEach ($Category in $OVFConfig.PropertyCategories) {
$XMLPropertyAttrType.Value = 'boolean'
}
'^int' {
$XMLPropertyAttrType.Value = 'uint8'
$XMLPropertyAttrType.Value = 'uint16'
$Qualifiers = @()
If ($Property.Type -match '^int\((\d*)\.\.(\d*)\)') {
If ($Matches[1]) {