summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-15 20:34:02 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-15 20:34:02 +0000
commitf05077eb7ec8a1b887ef6011740f5ac84f7a7100 (patch)
treed71d2cebbc8d2a0e08d9a1c5d0dc3997c3eb9c36
parent2db1a43c2e54cb0534e2671af7a651a1a49af457 (diff)
downloadmpv-f05077eb7ec8a1b887ef6011740f5ac84f7a7100.tar.bz2
mpv-f05077eb7ec8a1b887ef6011740f5ac84f7a7100.tar.xz
Add some parentheses to silence the warnings:
cpuinfo.c:293: warning: suggest parentheses around && within || cpuinfo.c:297: warning: suggest parentheses around && within || git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28966 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--cpuinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpuinfo.c b/cpuinfo.c
index ac49cd7cad..78f5d5b7d2 100644
--- a/cpuinfo.c
+++ b/cpuinfo.c
@@ -290,11 +290,11 @@ main(void)
have to check the family, model and stepping instead. */
if (strstr(idstr, "AMD") &&
family == 5 &&
- (model >= 9 || model == 8 && stepping >= 8))
+ (model >= 9 || (model == 8 && stepping >= 8)))
printf(" %s", "k6_mtrr");
/* similar for cyrix_arr. */
if (strstr(idstr, "Cyrix") &&
- (family == 5 && model < 4 || family == 6))
+ (family == 5 && (model < 4 || family == 6)))
printf(" %s", "cyrix_arr");
/* as well as centaur_mcr. */
if (strstr(idstr, "Centaur") &&