removed warning

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
pl 2001-10-23 13:02:44 +00:00
parent d9d2200ccf
commit 01e821cd5d
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}