From 0f0d65d984b08ad8178969f4fa4d1641d721354b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Tschumperl=C3=A9?= <david.tschumperle@gmail.com> Date: Tue, 14 Aug 2018 15:36:54 +0200 Subject: [PATCH] Auto-commit for release 2.3.4_pre --- CImg.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CImg.h b/CImg.h index 48adff2..32668f4 100644 --- a/CImg.h +++ b/CImg.h @@ -8047,7 +8047,7 @@ namespace cimg_library_suffixed { static void _render_resize(const T *ptrs, const unsigned int ws, const unsigned int hs, t *ptrd, const unsigned int wd, const unsigned int hd) { typedef typename cimg::last<T,cimg_ulong>::type ulongT; - const ulongT one = 1; + const ulongT one = (ulongT)1; CImg<ulongT> off_x(wd), off_y(hd + 1); if (wd==ws) off_x.fill(1); else { -- GitLab