diff options
author | Rob Mensching <rob@firegiant.com> | 2022-03-31 11:34:40 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2022-03-31 18:01:06 -0700 |
commit | 167296c42497c4e95f0d5d71168542d747655981 (patch) | |
tree | 6e50f4ba69f83040c368b43644123d2b8c1e650e | |
parent | 5d08e0a4bbf4e4ba28300b8bace1089b64b198d7 (diff) | |
download | wix-167296c42497c4e95f0d5d71168542d747655981.tar.gz wix-167296c42497c4e95f0d5d71168542d747655981.tar.bz2 wix-167296c42497c4e95f0d5d71168542d747655981.zip |
Fix resource enumeration of 64-bit images
-rw-r--r-- | src/dtf/WixToolset.Dtf.Resources/ResourceCollection.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dtf/WixToolset.Dtf.Resources/ResourceCollection.cs b/src/dtf/WixToolset.Dtf.Resources/ResourceCollection.cs index 5d9e5653..b37d5311 100644 --- a/src/dtf/WixToolset.Dtf.Resources/ResourceCollection.cs +++ b/src/dtf/WixToolset.Dtf.Resources/ResourceCollection.cs | |||
@@ -144,7 +144,7 @@ namespace WixToolset.Dtf.Resources | |||
144 | private bool EnumResLangs(IntPtr module, IntPtr type, IntPtr name, ushort langId, IntPtr param) | 144 | private bool EnumResLangs(IntPtr module, IntPtr type, IntPtr name, ushort langId, IntPtr param) |
145 | { | 145 | { |
146 | Resource res; | 146 | Resource res; |
147 | if (((int) type) == ResourceType.Version.IntegerValue) | 147 | if (type == (IntPtr)ResourceType.Version.IntegerValue) |
148 | { | 148 | { |
149 | res = new VersionResource(ResourceNameToString(name), langId); | 149 | res = new VersionResource(ResourceNameToString(name), langId); |
150 | } | 150 | } |