mirror of
https://github.com/mpv-player/mpv
synced 2025-01-27 01:53:32 +00:00
removed warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
d9d2200ccf
commit
01e821cd5d
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user