loader: Use correct 64bit printf format for Windows
Fixes LunarXchange issue #145
diff --git a/layers/vk_layer_logging.h b/layers/vk_layer_logging.h
index 171861d..60d3fb1 100644
--- a/layers/vk_layer_logging.h
+++ b/layers/vk_layer_logging.h
@@ -315,7 +315,7 @@
char buf[2048];
print_msg_flags(msgFlags, msg_flags);
- _snprintf(buf, sizeof(buf)-1, "%s (%s): object: 0x%" PRIxLEAST64 " type: %d location: %zu msgCode: %d: %s\n",
+ _snprintf(buf, sizeof(buf) - 1, "%s (%s): object: 0x%" PRIxPTR " type: %d location: " PRINTF_SIZE_T_SPECIFIER " msgCode: %d: %s\n",
pLayerPrefix, msg_flags, srcObject, objType, location, msgCode, pMsg);
OutputDebugString(buf);