Fixed long standing 64-bit bug in via memory manager. Bumped via date and

patchlevel.
main
Thomas Hellstrom 2005-11-16 10:55:53 +00:00
parent c8261e3d24
commit a5747964ec
2 changed files with 4 additions and 4 deletions

View File

@ -28,11 +28,11 @@
#define DRIVER_NAME "via"
#define DRIVER_DESC "VIA Unichrome / Pro"
#define DRIVER_DATE "20051115"
#define DRIVER_DATE "20051116"
#define DRIVER_MAJOR 2
#define DRIVER_MINOR 7
#define DRIVER_PATCHLEVEL 3
#define DRIVER_PATCHLEVEL 4
#include "via_verifier.h"

View File

@ -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;