Windows: more changes for windows compiler
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index 49e91f4..816cf35 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -2788,7 +2788,7 @@
for (uint32_t i = 0; i < localRPCI->subpassCount; i++) {
VkSubpassDescription *subpass = (VkSubpassDescription *) &localRPCI->pSubpasses[i];
const uint32_t attachmentCount = subpass->inputCount +
- subpass->colorCount * (1 + (bool) subpass->resolveAttachments) +
+ subpass->colorCount * (1 + (subpass->resolveAttachments?1:0)) +
subpass->preserveCount;
VkAttachmentReference *attachments = new VkAttachmentReference[attachmentCount];