diff --git a/glm/ext/scalar_int_sized.hpp b/glm/ext/scalar_int_sized.hpp index 5dbd7845..8e9c511c 100644 --- a/glm/ext/scalar_int_sized.hpp +++ b/glm/ext/scalar_int_sized.hpp @@ -26,9 +26,9 @@ namespace detail typedef std::int16_t int16; typedef std::int32_t int32; # else - typedef char int8; - typedef short int16; - typedef int int32; + typedef signed char int8; + typedef signed short int16; + typedef signed int int32; #endif// template<> diff --git a/readme.md b/readme.md index 46766eda..209fccbc 100644 --- a/readme.md +++ b/readme.md @@ -60,6 +60,7 @@ glm::mat4 camera(float Translate, glm::vec2 const& Rotate) - Fixed in mat4x3 conversion #829 - Fixed constexpr issue on GCC #832 - Fixed mix implementation to improve GLSL conformance #866 +- Fixed int8 being defined as unsigned char with some compiler #839 ### [GLM 0.9.9.3](https://github.com/g-truc/glm/releases/tag/0.9.9.3) - 2018-10-31 #### Features: