diff options
-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 | } |