mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-11 05:50:14 +01:00
mesa: fix uint64 printing in syncobj.c
To silence printf format warnings. v2: insert "0x" prefix Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
This commit is contained in:
parent
32c6db3978
commit
4d2f04cd6c
1 changed files with 3 additions and 1 deletions
|
|
@ -55,6 +55,7 @@
|
|||
* \author Ian Romanick <ian.d.romanick@intel.com>
|
||||
*/
|
||||
|
||||
#include <inttypes.h>
|
||||
#include "glheader.h"
|
||||
#include "imports.h"
|
||||
#include "context.h"
|
||||
|
|
@ -357,7 +358,8 @@ _mesa_WaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
|
|||
}
|
||||
|
||||
if (timeout != GL_TIMEOUT_IGNORED) {
|
||||
_mesa_error(ctx, GL_INVALID_VALUE, "glWaitSync(timeout=0x%lx)", timeout);
|
||||
_mesa_error(ctx, GL_INVALID_VALUE, "glWaitSync(timeout=0x%" PRIx64 ")",
|
||||
(uint64_t) timeout);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue