mirror of
https://github.com/X11Libre/xf86-video-sis.git
synced 2026-03-23 17:19:39 +00:00
sis_memcpy: fix const char* mismatch in SiS_ReadProc()
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
committed by
Enrico Weigelt
parent
303d394280
commit
4eb5a3f8c9
@@ -787,7 +787,7 @@ static vidCopyFunc SiS_GetBestByGrade(ScrnInfoPtr pScrn, SISMCFuncData *MCFuncti
|
||||
|
||||
#ifdef SiS_haveProc
|
||||
/* Linux: Read file (/proc/cpuinfo) into buffer */
|
||||
static int SiS_ReadProc(char *buf, char *filename)
|
||||
static int SiS_ReadProc(char *buf, const char *filename)
|
||||
{
|
||||
FILE *cpuInfoFile;
|
||||
int count;
|
||||
|
||||
Reference in New Issue
Block a user