From 01e821cd5dc6eb0b355f98f65a410930f50340ea Mon Sep 17 00:00:00 2001 From: pl Date: Tue, 23 Oct 2001 13:02:44 +0000 Subject: [PATCH] removed warning git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2 --- cpudetect.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpudetect.c b/cpudetect.c index b7916b18b7..b2dea783f0 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -160,7 +160,7 @@ char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){ char *retname; int i; - if (NULL==(retname=malloc(256))) { + if (NULL==(retname=(char*)malloc(256))) { printf("Error: GetCpuFriendlyName() not enough memory\n"); exit(1); }