summaryrefslogtreecommitdiff
path: root/shared/sis_mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared/sis_mm.c')
-rw-r--r--shared/sis_mm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shared/sis_mm.c b/shared/sis_mm.c
index 092096c4..7b10db97 100644
--- a/shared/sis_mm.c
+++ b/shared/sis_mm.c
@@ -371,7 +371,7 @@ int sis_final_context(int context)
if (i < MAX_CONTEXT) {
set_t *set;
- unsigned int item;
+ ITEM_TYPE item;
int retval;
DRM_DEBUG("find socket %d, context = %d\n", i, context);
@@ -380,7 +380,7 @@ int sis_final_context(int context)
set = global_ppriv[i].sets[0];
retval = setFirst(set, &item);
while (retval) {
- DRM_DEBUG("free video memory 0x%x\n", item);
+ DRM_DEBUG("free video memory 0x%lx\n", item);
#if defined(__linux__) && defined(CONFIG_FB_SIS)
sis_free(item);
#else
@@ -394,7 +394,7 @@ int sis_final_context(int context)
set = global_ppriv[i].sets[1];
retval = setFirst(set, &item);
while (retval) {
- DRM_DEBUG("free agp memory 0x%x\n", item);
+ DRM_DEBUG("free agp memory 0x%lx\n", item);
mmFreeMem((PMemBlock)item);
retval = setNext(set, &item);
}