diff options
author | Christoph Bumiller <[email protected]> | 2011-08-30 14:41:13 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2011-08-30 14:52:17 +0200 |
commit | d49525d0c52601f8c4abec82590ca4ffb896a614 (patch) | |
tree | 61215394ef7297745942329a22b3292c038e8885 /src/gallium/drivers/nouveau/nouveau_mm.c | |
parent | 8476232b080821b859b02add4cb7869fa4a4f2b3 (diff) |
nouveau: use PRIu64 for printing uint64_t
Diffstat (limited to 'src/gallium/drivers/nouveau/nouveau_mm.c')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_mm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_mm.c b/src/gallium/drivers/nouveau/nouveau_mm.c index 91532d7ec72..2a4e322e8eb 100644 --- a/src/gallium/drivers/nouveau/nouveau_mm.c +++ b/src/gallium/drivers/nouveau/nouveau_mm.c @@ -1,4 +1,6 @@ +#include <inttypes.h> + #include "util/u_inlines.h" #include "util/u_memory.h" #include "util/u_double_list.h" @@ -143,7 +145,7 @@ mm_slab_new(struct nouveau_mman *cache, int chunk_order) cache->allocated += size; - debug_printf("MM: new slab, total memory = %llu KiB\n", + debug_printf("MM: new slab, total memory = %"PRIu64" KiB\n", cache->allocated / 1024); return PIPE_OK; |