aboutsummaryrefslogtreecommitdiff
path: root/layers/vk_layer_logging.h
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <courtneygo@google.com>2015-11-30 11:52:06 -0700
committerJon Ashburn <jon@lunarg.com>2015-12-15 09:17:29 -0700
commit04ae89b52db50c754273a052d9171b6d6b43c72f (patch)
tree790193fb63455b4394a2d4a7f2df96cfecfe0a0e /layers/vk_layer_logging.h
parent8f7032cfde9684d7db4f2ec92fa90feed476fcd4 (diff)
downloadusermoji-04ae89b52db50c754273a052d9171b6d6b43c72f.tar.xz
debug_report: Make pUserData always a const
This prevents compiler warnings.
Diffstat (limited to 'layers/vk_layer_logging.h')
-rw-r--r--layers/vk_layer_logging.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/layers/vk_layer_logging.h b/layers/vk_layer_logging.h
index 5f9fe51e..8a38d421 100644
--- a/layers/vk_layer_logging.h
+++ b/layers/vk_layer_logging.h
@@ -300,7 +300,7 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL log_callback(
int32_t msgCode,
const char* pLayerPrefix,
const char* pMsg,
- void* pUserData)
+ const void* pUserData)
{
char msg_flags[30];
@@ -321,7 +321,7 @@ static inline VKAPI_ATTR VkBool32 VKAPI_CALL win32_debug_output_msg(
int32_t msgCode,
const char* pLayerPrefix,
const char* pMsg,
- void* pUserData)
+ const void* pUserData)
{
#ifdef WIN32
char msg_flags[30];