Re: [Mesa-dev] [PATCH] mesa: fix a couple issues with U_FIXED, I_FIXED macros

2013-10-22 Thread Jose Fonseca
- Original Message - > Silence a bunch of MSVC type conversion warnings. > > Changed return type of S_FIXED to int32_t (signed). The result > is the same. It just seems more intuitive that a signed conversion > function should return a signed value. > --- > src/mesa/main/macros.h |

[Mesa-dev] [PATCH] mesa: fix a couple issues with U_FIXED, I_FIXED macros

2013-10-19 Thread Brian Paul
Silence a bunch of MSVC type conversion warnings. Changed return type of S_FIXED to int32_t (signed). The result is the same. It just seems more intuitive that a signed conversion function should return a signed value. --- src/mesa/main/macros.h |6 +++--- 1 file changed, 3 insertions(+), 3