summaryrefslogtreecommitdiff
path: root/shared-core/via_mm.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-core/via_mm.c')
-rw-r--r--shared-core/via_mm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared-core/via_mm.c b/shared-core/via_mm.c
index d7a55ed2..e9c3d0a0 100644
--- a/shared-core/via_mm.c
+++ b/shared-core/via_mm.c
@@ -42,7 +42,7 @@ static int via_agp_free(drm_via_mem_t * mem);
static int via_fb_alloc(drm_via_mem_t * mem);
static int via_fb_free(drm_via_mem_t * mem);
-static int add_alloc_set(int context, int type, unsigned int val)
+static int add_alloc_set(int context, int type, unsigned long val)
{
int i, retval = 0;
@@ -56,7 +56,7 @@ static int add_alloc_set(int context, int type, unsigned int val)
return retval;
}
-static int del_alloc_set(int context, int type, unsigned int val)
+static int del_alloc_set(int context, int type, unsigned long val)
{
int i, retval = 0;