Module Name: xsrc
Committed By: joerg
Date: Fri Jan 16 14:24:21 UTC 2015
Modified Files:
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600:
compute_memory_pool.c
Log Message:
Fix format strings for ILP32 machines.
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c
diff -u xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c:1.1.1.1 xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c:1.2
--- xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c:1.1.1.1 Thu Dec 18 06:02:07 2014
+++ xsrc/external/mit/MesaLib/dist/src/gallium/drivers/r600/compute_memory_pool.c Fri Jan 16 14:24:21 2015
@@ -114,7 +114,7 @@ int64_t compute_memory_prealloc_chunk(
assert(size_in_dw <= pool->size_in_dw);
- COMPUTE_DBG(pool->screen, "* compute_memory_prealloc_chunk() size_in_dw = %ld\n",
+ COMPUTE_DBG(pool->screen, "* compute_memory_prealloc_chunk() size_in_dw = %" PRId64 "\n",
size_in_dw);
LIST_FOR_EACH_ENTRY(item, pool->item_list, link) {
@@ -145,7 +145,7 @@ struct list_head *compute_memory_postall
struct compute_memory_item *next;
struct list_head *next_link;
- COMPUTE_DBG(pool->screen, "* compute_memory_postalloc_chunck() start_in_dw = %ld\n",
+ COMPUTE_DBG(pool->screen, "* compute_memory_postalloc_chunck() start_in_dw = %" PRId64"\n",
start_in_dw);
/* Check if we can insert it in the front of the list */
@@ -562,7 +562,7 @@ void compute_memory_free(struct compute_
struct pipe_screen *screen = (struct pipe_screen *)pool->screen;
struct pipe_resource *res;
- COMPUTE_DBG(pool->screen, "* compute_memory_free() id + %ld \n", id);
+ COMPUTE_DBG(pool->screen, "* compute_memory_free() id + %" PRId64 " \n", id);
LIST_FOR_EACH_ENTRY_SAFE(item, next, pool->item_list, link) {
@@ -622,7 +622,7 @@ struct compute_memory_item* compute_memo
{
struct compute_memory_item *new_item = NULL;
- COMPUTE_DBG(pool->screen, "* compute_memory_alloc() size_in_dw = %ld (%ld bytes)\n",
+ COMPUTE_DBG(pool->screen, "* compute_memory_alloc() size_in_dw = %" PRId64 " (%" PRId64 " bytes)\n",
size_in_dw, 4 * size_in_dw);
new_item = (struct compute_memory_item *)