From ee1da1b07822eebc14e5c15822abd0f196df6a9a Mon Sep 17 00:00:00 2001 From: Matthew Ortiz Date: Mon, 2 Feb 2026 23:05:50 -0800 Subject: [PATCH] Prevents limits issue, resolves #340 --- main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index a495fc94..9836bbf2 100644 --- a/main.cpp +++ b/main.cpp @@ -6,7 +6,7 @@ int main() std::cout << "THE FIRST EXAMPLE MATH DISPLAY!\n"; std::cout << "Hi, please enter two whole numbers: "; - int x,y; + int32_t x,y; std::cin >> x >> y; std::cout << "Addition: " << x + y << std::endl;