[Mplayer-cvslog] CVS: main cpudetect.c,1.9,1.10

pl pl at mplayer.dev.hu
Tue Oct 23 15:03:02 CEST 2001


Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv21632

Modified Files:
	cpudetect.c 
Log Message:
removed warning


Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- cpudetect.c	20 Oct 2001 11:16:47 -0000	1.9
+++ cpudetect.c	23 Oct 2001 13:02:44 -0000	1.10
@@ -160,7 +160,7 @@
 	char *retname;
 	int i;
 
-	if (NULL==(retname=malloc(256))) {
+	if (NULL==(retname=(char*)malloc(256))) {
 		printf("Error: GetCpuFriendlyName() not enough memory\n");
 		exit(1);
 	}




More information about the MPlayer-cvslog mailing list