summaryrefslogtreecommitdiffstats
path: root/cpudetect.c
diff options
context:
space:
mode:
authorreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-01 03:56:13 +0000
committerreynaldo <reynaldo@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-07-01 03:56:13 +0000
commit5b4ec50d44c9a40a9cd1719521b2fd9a290d4347 (patch)
treead1aded3190ae33d01540f3f5145e0e0677ba98d /cpudetect.c
parenta01ba6cb74110540d16833a57b49ceaa754de11c (diff)
downloadmpv-5b4ec50d44c9a40a9cd1719521b2fd9a290d4347.tar.bz2
mpv-5b4ec50d44c9a40a9cd1719521b2fd9a290d4347.tar.xz
rm unnecesary void* casts - part 1
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18874 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 a725035bbb..5bb10ac4d6 100644
--- a/cpudetect.c
+++ b/cpudetect.c
@@ -235,7 +235,7 @@ char *GetCpuFriendlyName(unsigned int regs[], unsigned int regs2[]){
char *retname;
int i;
- if (NULL==(retname=(char*)malloc(256))) {
+ if (NULL==(retname=malloc(256))) {
mp_msg(MSGT_CPUDETECT,MSGL_FATAL,"Error: GetCpuFriendlyName() not enough memory\n");
exit(1);
}