changeset 2417:6b4952e00ad0

removed warning
author pl
date Tue, 23 Oct 2001 13:02:44 +0000
parents 25e7342b5171
children eab58e827cf7
files cpudetect.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/cpudetect.c	Tue Oct 23 12:05:34 2001 +0000
+++ b/cpudetect.c	Tue Oct 23 13:02:44 2001 +0000
@@ -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);
 	}