summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2008-02-12 16:01:26 -0800
committerEric Anholt <eric@anholt.net>2008-02-12 16:06:02 -0800
commit4e2a0b6aa67da77d312ed74916624a43daf2101a (patch)
tree7353cbad140b183bbcadc51418d2b36e9ca8c315
parentda428c709aa1acda0072c302f539670542bcfd2c (diff)
[intel] Fix type of some more flags variables for uint64_t flags.
Harmless since we don't yet have any bits above 31 for flags.
-rw-r--r--src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
index ae29949bbe..3953525c3e 100644
--- a/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
+++ b/src/mesa/drivers/dri/intel/intel_bufmgr_ttm.c
@@ -344,7 +344,8 @@ dri_ttm_alloc(dri_bufmgr *bufmgr, const char *name,
dri_bo_ttm *ttm_buf;
unsigned int pageSize = getpagesize();
int ret;
- unsigned int flags, hint;
+ uint64_t flags;
+ unsigned int hint;
ttm_buf = malloc(sizeof(*ttm_buf));
if (!ttm_buf)
@@ -506,7 +507,7 @@ dri_ttm_bo_map(dri_bo *buf, GLboolean write_enable)
{
dri_bufmgr_ttm *bufmgr_ttm;
dri_bo_ttm *ttm_buf = (dri_bo_ttm *)buf;
- unsigned int flags;
+ uint64_t flags;
int ret;
bufmgr_ttm = (dri_bufmgr_ttm *)buf->bufmgr;