diff options
Diffstat (limited to 'loader/error-tex.cpp')
-rw-r--r-- | loader/error-tex.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loader/error-tex.cpp b/loader/error-tex.cpp index c3a0a58b..16df2b43 100644 --- a/loader/error-tex.cpp +++ b/loader/error-tex.cpp @@ -11,7 +11,7 @@ Trade::ImageData2D loader_impl::make_error_texture(Vector2ui size) { fm_assert(size.product() != 0); constexpr auto magenta = Vector4ub{255, 0, 255, 255}; - auto array = Array<char>{NoInit, 4 * size.product()}; + auto array = Array<char>{NoInit, 4uz * size.product()}; auto data = array.data(), end = data + array.size(); while (data != end) { |