summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 13:02:44 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-23 13:02:44 +0000
commit01e821cd5dc6eb0b355f98f65a410930f50340ea (patch)
treee0656b14b1d9cc7751efc878db259366923c1f46 /cpudetect.c
parentd9d2200ccf8d952e1d8cf131efc824d4b8186038 (diff)
downloadmpv-01e821cd5dc6eb0b355f98f65a410930f50340ea.tar.bz2
mpv-01e821cd5dc6eb0b355f98f65a410930f50340ea.tar.xz
removed warning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2418 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r--cpudetect.c2
1 files changed, 1 insertions, 1 deletions
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);
}