From f05077eb7ec8a1b887ef6011740f5ac84f7a7100 Mon Sep 17 00:00:00 2001 From: diego Date: Sun, 15 Mar 2009 20:34:02 +0000 Subject: 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 --- cpuinfo.c | 4 ++-- 1 file 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") && -- cgit v1.2.3