From a6514d1a95d0f84f0935866215463ef6aed23e19 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 7 Feb 2024 23:38:31 +0100 Subject: loader: work toward removing duplicate atlas code --- loader/error-tex.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'loader/error-tex.cpp') 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{NoInit, 4 * size.product()}; + auto array = Array{NoInit, 4uz * size.product()}; auto data = array.data(), end = data + array.size(); while (data != end) { -- cgit v1.2.3