summaryrefslogtreecommitdiffhomepage
path: root/loader/error-tex.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2024-02-07 23:38:31 +0100
committerStanislaw Halik <sthalik@misaki.pl>2024-02-08 08:43:49 +0100
commita6514d1a95d0f84f0935866215463ef6aed23e19 (patch)
tree639075646b1ea42a3cd4a76ae59af7dda0c4b14a /loader/error-tex.cpp
parent4575194adb4615deeca174044a872093c3664ad4 (diff)
loader: work toward removing duplicate atlas code
Diffstat (limited to 'loader/error-tex.cpp')
-rw-r--r--loader/error-tex.cpp2
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)
{