summaryrefslogtreecommitdiff
path: root/shared-core/via_mm.c
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-11-16 10:55:53 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-11-16 10:55:53 +0000
commita5747964ec29ece7cccb981330e073748f2fd447 (patch)
tree3f25b01dc7f9dadb4055b480f0f528e1cdd38628 /shared-core/via_mm.c
parentc8261e3d2486050dcd76fb769f6806982260df96 (diff)
Fixed long standing 64-bit bug in via memory manager. Bumped via date and
patchlevel.
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;