mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 00:50:07 +01:00
nv50: fix printf warning
This commit is contained in:
parent
51872e8bb3
commit
30ebc8650c
1 changed files with 2 additions and 1 deletions
|
|
@ -22,6 +22,7 @@
|
|||
|
||||
#include "nv50_ir.h"
|
||||
#include "nv50_ir_target.h"
|
||||
#include <inttypes.h>
|
||||
|
||||
namespace nv50_ir {
|
||||
|
||||
|
|
@ -391,7 +392,7 @@ int ImmediateValue::print(char *buf, size_t size, DataType ty) const
|
|||
case TYPE_U64:
|
||||
case TYPE_S64:
|
||||
default:
|
||||
PRINT("0x%016lx", reg.data.u64);
|
||||
PRINT("0x%016"PRIx64, reg.data.u64);
|
||||
break;
|
||||
}
|
||||
return pos;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue