Fix Wformat warnings for printf %p
The `%p` specifier expects a void pointer argument, so explicitly cast to `void *`. No functional changes. Signed-off-by: Sven van Haastregt <sven.vanhaastregt@arm.com>
This commit is contained in:
parent
2acc4ea002
commit
e61d7bb300
2 changed files with 2 additions and 2 deletions
|
|
@ -324,7 +324,7 @@ static EProfile c_shader_profile(glslang_profile_t profile)
|
|||
GLSLANG_EXPORT glslang_shader_t* glslang_shader_create(const glslang_input_t* input)
|
||||
{
|
||||
if (!input || !input->code) {
|
||||
printf("Error creating shader: null input(%p)/input->code\n", input);
|
||||
printf("Error creating shader: null input(%p)/input->code\n", (void*)input);
|
||||
|
||||
if (input)
|
||||
printf("input->code = %p\n", input->code);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue