From 0fca01cc29b4b99a72e476f4451090cfd0b24d30 Mon Sep 17 00:00:00 2001 From: William Silversmith Date: Sun, 24 Mar 2024 00:12:58 -0400 Subject: [PATCH] fix: silence warning --- src/crackcodes.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crackcodes.hpp b/src/crackcodes.hpp index 3c9cdc8..532b682 100644 --- a/src/crackcodes.hpp +++ b/src/crackcodes.hpp @@ -651,7 +651,7 @@ void decode_permissible_crack_code( int64_t sxe = sx + 1; - const int64_t pixels = (sx+1) * (sy+1); + const uint64_t pixels = (sx+1) * (sy+1); // graph is of corners and edges // origin is located at top left @@ -731,7 +731,7 @@ void decode_impermissible_crack_code( int64_t sxe = sx + 1; - const int64_t pixels = (sx+1) * (sy+1); + const uint64_t pixels = (sx+1) * (sy+1); // graph is of corners and edges // origin is located at top left