aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-04-27 00:27:55 +0100
committerThomas White <taw@bitwiz.org.uk>2010-05-23 09:51:33 +0200
commit3832c05a915696f49f203b30ce6458a1887f67e4 (patch)
tree528f508be6930bd5f7a2382bf871af246f48f81a
parentc7867399efe2d4766e5455330b5b9d516c315e73 (diff)
Add missing include and cast
-rw-r--r--glamo/glamo_bo.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/glamo/glamo_bo.h b/glamo/glamo_bo.h
index 47b141c5..c4a13a9d 100644
--- a/glamo/glamo_bo.h
+++ b/glamo/glamo_bo.h
@@ -37,6 +37,7 @@
#include <stdio.h>
#include <stdint.h>
#include "glamo_track.h"
+#include <drm/glamo_drm.h>
/* bo object */
#define GLAMO_BO_FLAGS_MACRO_TILE 1
@@ -87,7 +88,7 @@ static inline void _glamo_bo_debug(struct glamo_bo *bo,
int line)
{
fprintf(stderr, "%s %p 0x%08X 0x%08X 0x%08X [%s %s %d]\n",
- op, bo, bo->handle, bo->size, bo->cref, file, func, line);
+ op, (void *)bo, bo->handle, bo->size, bo->cref, file, func, line);
}
static inline struct glamo_bo *_glamo_bo_open(struct glamo_bo_manager *bom,