You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
struct scanLineHeader in aces_formatter.cpp uses int32 for its fields, but is initialized with uint32 values. This causes build failures with strict C++ compilers (Clang6 defaults to C++17, I think). Error message is:
aces_formatter.cpp:255:24: error: non-constant-expression cannot be narrowed from type 'unsigned int' to 'int32' (aka 'int') in initializer list [-Wc++11-narrowing]
scanLineHeader sh = { yMin + row, scanLineSize };
This patch silences the build error, but I can't really tell if it's correct -- it would seem to me that coordinate and size are both unsigned by nature.
struct scanLineHeader in
aces_formatter.cpp
uses int32 for its fields, but is initialized with uint32 values. This causes build failures with strict C++ compilers (Clang6 defaults to C++17, I think). Error message is:This patch silences the build error, but I can't really tell if it's correct -- it would seem to me that coordinate and size are both unsigned by nature.
The text was updated successfully, but these errors were encountered: