From 134d0aff002e637a1c423f5e1db0caa229ae83a1 Mon Sep 17 00:00:00 2001 From: Lenny Komow Date: Thu, 15 Feb 2018 11:35:59 -0700 Subject: layers: Fix wrong format specifier in layer log --- layers/vk_layer_logging.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layers/vk_layer_logging.h b/layers/vk_layer_logging.h index 61e109af..09d21f84 100644 --- a/layers/vk_layer_logging.h +++ b/layers/vk_layer_logging.h @@ -906,8 +906,8 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL messenger_win32_debug_output_msg( PrintMessageSeverity(message_severity, msg_severity); PrintMessageType(message_type, msg_type); - _snprintf(buf, sizeof(buf) - 1, "%s (%s / %s): object: 0x%" PRIxPTR " type: %d msgNum: %d - %s\n", - callback_data->pMessageIdName, msg_severity, msg_type, callback_data->pObjects[0].objectHandle, + _snprintf(buf, sizeof(buf) - 1, "%s (%s / %s): object: 0x%" PRIx64 " type: %d msgNum: %d - %s\n", + callback_data->pMessageIdName, msg_severity, msg_type, HandleToUint64(callback_data->pObjects[0].objectHandle), callback_data->pObjects[0].objectType, callback_data->messageIdNumber, callback_data->pMessage); OutputDebugString(buf); -- cgit v1.2.3