[Mplayer-cvslog] CVS: main cpudetect.c,1.12,1.13

pl pl at mplayer.dev.hu
Mon Dec 24 11:35:45 CET 2001


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

Modified Files:
	cpudetect.c 
Log Message:
memset is more portable than bzero ("BSD"ism)


Index: cpudetect.c
===================================================================
RCS file: /cvsroot/mplayer/main/cpudetect.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- cpudetect.c	9 Dec 2001 17:03:04 -0000	1.12
+++ cpudetect.c	24 Dec 2001 10:35:42 -0000	1.13
@@ -87,7 +87,7 @@
 
 	caps->isX86=1;
 
-	bzero(caps, sizeof(*caps));
+	memset(caps, 0, sizeof(*caps));
 	if (!has_cpuid()) {
 	    printf("CPUID not supported!???\n");
 	    return;




More information about the MPlayer-cvslog mailing list