summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas White <taw@bitwiz.org.uk>2009-04-27 00:27:55 +0100
committerChristoph Brill <christoph.brill@chamaeleon.de>2011-12-13 22:15:47 +0100
commit8970c7ccbaf7a2df6014d7265416ad9a4115f3bd (patch)
tree23528499b4b9b6b695ceb3dbc3fe229ff87ef912
parent7b1660be5b94466b80cbc5f520b276956a923719 (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,