mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
2db1a43c2e
commit
f05077eb7e
|
@ -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") &&
|
||||
|
|
Loading…
Reference in New Issue