diff options
Diffstat (limited to 'src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs')
-rw-r--r-- | src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs b/src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs index e63bf65c..672bb235 100644 --- a/src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs +++ b/src/wix/WixToolset.Core.Burn/Bundles/CreateBundleExeCommand.cs | |||
@@ -254,10 +254,10 @@ namespace WixToolset.Core.Burn.Bundles | |||
254 | return new Version(0, 0); | 254 | return new Version(0, 0); |
255 | } | 255 | } |
256 | 256 | ||
257 | var major = wixVersion.Major ?? 0; | 257 | var major = wixVersion.Major; |
258 | var minor = wixVersion.Minor ?? 0; | 258 | var minor = wixVersion.Minor; |
259 | var build = wixVersion.Patch ?? 0; | 259 | var build = wixVersion.Patch; |
260 | var revision = wixVersion.Revision ?? 0; | 260 | var revision = wixVersion.Revision; |
261 | 261 | ||
262 | if (UInt16.MaxValue < major || UInt16.MaxValue < minor || UInt16.MaxValue < build || UInt16.MaxValue < revision) | 262 | if (UInt16.MaxValue < major || UInt16.MaxValue < minor || UInt16.MaxValue < build || UInt16.MaxValue < revision) |
263 | { | 263 | { |
@@ -369,7 +369,7 @@ namespace WixToolset.Core.Burn.Bundles | |||
369 | public BURN_SPLASH_SCREEN_TYPE Type; | 369 | public BURN_SPLASH_SCREEN_TYPE Type; |
370 | 370 | ||
371 | [MarshalAs(UnmanagedType.U2)] | 371 | [MarshalAs(UnmanagedType.U2)] |
372 | public UInt16 ResourceId; | 372 | public ushort ResourceId; |
373 | 373 | ||
374 | public byte[] ToBytes() | 374 | public byte[] ToBytes() |
375 | { | 375 | { |