projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbbf7a5
)
anv: Fix wrong printf formatter
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 19 Jun 2019 16:57:01 +0000
(11:57 -0500)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 19 Jun 2019 16:57:01 +0000
(11:57 -0500)
%lu is for unsigned long, %zu is for size_t. Just cast the data.
src/intel/vulkan/anv_pipeline.c
patch
|
blob
|
history
diff --git
a/src/intel/vulkan/anv_pipeline.c
b/src/intel/vulkan/anv_pipeline.c
index a254f0a2c3c7b7caf60917718b5350b16b2c9481..ea01b2f04f9db5b7eabb4209b3093af23fd614bf 100644
(file)
--- a/
src/intel/vulkan/anv_pipeline.c
+++ b/
src/intel/vulkan/anv_pipeline.c
@@
-113,7
+113,7
@@
static void anv_spirv_nir_debug(void *private_data,
};
char buffer[256];
- snprintf(buffer, sizeof(buffer), "SPIR-V offset %lu: %s", spirv_offset, message);
+ snprintf(buffer, sizeof(buffer), "SPIR-V offset %lu: %s",
(unsigned long)
spirv_offset, message);
vk_debug_report(&debug_data->device->instance->debug_report_callbacks,
vk_flags[level],