summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Owen <jens@tungstengraphics.com>2002-04-03 15:42:02 +0000
committerJens Owen <jens@tungstengraphics.com>2002-04-03 15:42:02 +0000
commit67a769160b0f13b2e59dfd02f008634339b59c35 (patch)
tree6f8350603c9b8206506417626ff3ccf85e66d32d
parent9debd76659eb2a2b1e9d612c60d2a4a700119f25 (diff)
fixed compile error for 3D driver tree.
-rw-r--r--libdrm/xf86drmCompat.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libdrm/xf86drmCompat.c b/libdrm/xf86drmCompat.c
index a93d84d7..efe744ec 100644
--- a/libdrm/xf86drmCompat.c
+++ b/libdrm/xf86drmCompat.c
@@ -1031,10 +1031,10 @@ Bool drmI830CleanupDma(int driSubFD)
init.func = I810_CLEANUP_DMA;
if(ioctl(driSubFD, DRM_IOCTL_I830_INIT, &init)) {
- return FALSE;
+ return 0; /* FALSE */
}
- return TRUE;
+ return 1; /* TRUE */
}
Bool drmI830InitDma(int driSubFD, drmCompatI830Init *info)
@@ -1062,9 +1062,9 @@ Bool drmI830InitDma(int driSubFD, drmCompatI830Init *info)
init.cpp = info->cpp;
if(ioctl(driSubFD, DRM_IOCTL_I830_INIT, &init)) {
- return FALSE;
+ return 0; /* FALSE */
}
- return TRUE;
+ return 1; /* TRUE */
}
/* WARNING: Do not change, or add, anything to this file. It is only provided