From b7cc87df8602be53ae3ed5852a24314414354ff8 Mon Sep 17 00:00:00 2001 From: Anurag Kumar Singh <86841935+Anuragkr07@users.noreply.github.com> Date: Thu, 7 Jul 2022 19:49:05 +0530 Subject: [PATCH] Update String to Integer (atoi).cpp --- Leetcode Challenge/January/String to Integer (atoi).cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Leetcode Challenge/January/String to Integer (atoi).cpp b/Leetcode Challenge/January/String to Integer (atoi).cpp index 92da4d3..2ad09ba 100644 --- a/Leetcode Challenge/January/String to Integer (atoi).cpp +++ b/Leetcode Challenge/January/String to Integer (atoi).cpp @@ -25,7 +25,7 @@ class Solution { if(sign == 1 && ans > MAX) return MAX; i++; - }q + } return (int)(sign*ans); }