diff options
author | Kristian H. Kristensen <[email protected]> | 2020-02-18 14:41:38 -0800 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-02-19 18:34:33 +0000 |
commit | 360ffdf4e23464879748051e57587aff938bd50d (patch) | |
tree | b9ee8b22506f1c2209a038924606501c72012926 /.editorconfig | |
parent | f1dc4c9554ce913acf4d3236b4d43b829fb92073 (diff) |
main/get: Converted type conversion macros to inline functions
Quiet warnings when called with a GLubyte:
src/mesa/main/get.c:3215:19: warning: result of comparison of constant 32767 with expression of type 'GLubyte' (aka 'unsigned char') is always false [-Wtautological-constant-out-of-range-compare]
params[0] = INT_TO_FIXED(((GLubyte *) p)[0]);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/mesa/main/get.c:78:38: note: expanded from macro 'INT_TO_FIXED'
~~~ ^ ~~~~~~~~
Delete ENUM_TO_INT64, ENUM_TO_FIXED and BOOLEAN_TO_INT64 which aren't
used.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3866>
Diffstat (limited to '.editorconfig')
0 files changed, 0 insertions, 0 deletions