summaryrefslogtreecommitdiff
path: root/src/radeon_accel.c
diff options
context:
space:
mode:
authorMichel Dänzer <daenzer@vmware.com>2009-06-30 17:22:50 +0200
committerMichel Dänzer <michel@daenzer.net>2009-06-30 17:25:25 +0200
commit49a0ca19ee4109cdd39a43fbf4bedf3f0557d6ec (patch)
treeef8db7434dc177f1350f137227378e5c4574ce5c /src/radeon_accel.c
parente932836691aeaec37794fdaed2dabb22710fd171 (diff)
Warning fixes.
Diffstat (limited to 'src/radeon_accel.c')
-rw-r--r--src/radeon_accel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/radeon_accel.c b/src/radeon_accel.c
index e51bffe0..5e24683d 100644
--- a/src/radeon_accel.c
+++ b/src/radeon_accel.c
@@ -436,7 +436,7 @@ static int RADEONDRMGetNumPipes(ScrnInfoPtr pScrn, int *num_pipes)
return drmCommandWriteRead(info->dri->drmFD, DRM_RADEON_GETPARAM, &np, sizeof(np));
} else {
struct drm_radeon_info np2;
- np2.value = (uint64_t)num_pipes;
+ np2.value = (unsigned long)num_pipes;
np2.request = RADEON_INFO_NUM_GB_PIPES;
return drmCommandWriteRead(info->dri->drmFD, DRM_RADEON_INFO, &np2, sizeof(np2));
}