From c282663a96ae9704a59c55c9300dbc8c49e0ef39 Mon Sep 17 00:00:00 2001 From: jbzdarkid Date: Mon, 18 Nov 2019 09:41:22 -0800 Subject: Add sanity checks for overwriting buffers --- Source/Puzzle.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Puzzle.h') diff --git a/Source/Puzzle.h b/Source/Puzzle.h index 962874e..1e00ef4 100644 --- a/Source/Puzzle.h +++ b/Source/Puzzle.h @@ -65,8 +65,8 @@ struct Pos {int x; int y;}; class Puzzle { public: - int16_t height = 0; - int16_t width = 0; + int height = 0; + int width = 0; bool hasDecorations = false; enum class Symmetry {NONE, X, Y, XY}; -- cgit 1.4.1