summaryrefslogtreecommitdiff
path: root/windows/VC8
diff options
context:
space:
mode:
authorIcecream95 <ixn@disroot.org>2021-07-31 13:21:54 +1200
committerMarge Bot <eric+marge@anholt.net>2021-08-01 13:04:20 +0000
commit490d09f1a4971cae64ba393a27fc3ce52794a686 (patch)
tree92ee0d96f5084666e5c31d225f76969b11bb3aa8 /windows/VC8
parent1acc3394c434891233cb67fd587f6cbbf2677514 (diff)
pan/bi: Fix infinite loop parsing arguments for bifrost_compiler
While char is signed on macOS AArch64, on Linux it is unsigned. This means it cannot represent the -1 return value of getopt_long. Change the type of `c` to int, the type that getopt_long returns, so that the -1 will be kept intact and can be checked for. Fixes: c6be4f85e3c ("pan/bi: Use getopt for bifrost_compiler") Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12153>
Diffstat (limited to 'windows/VC8')
0 files changed, 0 insertions, 0 deletions