--- a/src/gl/compiler.cpp Mon Mar 09 23:42:26 2020 +0200 +++ b/src/gl/compiler.cpp Wed Mar 11 17:19:28 2020 +0200 @@ -237,7 +237,7 @@ return gl::ArrayClass::Lines; } -ldraw::id_t gl::Compiler::idFromColor(const std::array<GLbyte, 3>& data) +ldraw::id_t gl::Compiler::idFromColor(const std::array<GLubyte, 3>& data) { return {data[0] * std::int32_t{0x10000} + data[1] * std::int32_t{0x100} + data[2]}; }