diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-15 20:34:02 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-03-15 20:34:02 +0000 |
commit | f05077eb7ec8a1b887ef6011740f5ac84f7a7100 (patch) | |
tree | d71d2cebbc8d2a0e08d9a1c5d0dc3997c3eb9c36 /cpuinfo.c | |
parent | 2db1a43c2e54cb0534e2671af7a651a1a49af457 (diff) | |
download | mpv-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
Diffstat (limited to 'cpuinfo.c')
-rw-r--r-- | cpuinfo.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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") && |