diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-24 10:35:43 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-24 10:35:43 +0000 |
commit | 8ee5b68534bc5defc9f967f46d5fc8452108e772 (patch) | |
tree | 29e4fb2366130b9f067998eb27d85a6cce772e57 /cpudetect.c | |
parent | b8a8282bc7c65463f47fef5c5a9714185b0d7a07 (diff) | |
download | mpv-8ee5b68534bc5defc9f967f46d5fc8452108e772.tar.bz2 mpv-8ee5b68534bc5defc9f967f46d5fc8452108e772.tar.xz |
memset is more portable than bzero ("BSD"ism)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3701 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpudetect.c b/cpudetect.c index 72ecca56c3..e2fdfa75fd 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -87,7 +87,7 @@ void GetCpuCaps( CpuCaps *caps) caps->isX86=1; - bzero(caps, sizeof(*caps)); + memset(caps, 0, sizeof(*caps)); if (!has_cpuid()) { printf("CPUID not supported!???\n"); return; |