summaryrefslogtreecommitdiffstats
path: root/3/4.c
diff options
context:
space:
mode:
Diffstat (limited to '3/4.c')
-rw-r--r--3/4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/3/4.c b/3/4.c
index 91c3953..6bcc1bb 100644
--- a/3/4.c
+++ b/3/4.c
@@ -29,7 +29,7 @@ void itoa(int n, char s[]) {
} while ((n /= 10) > 0);
}
else {
- // avoid integer overflow of n = -n of min n in original impl
+ // avoid integer overflow of n = -n for min integer in original impl
// by handling negtive values separately.
do {
s[i++] = -(n % 10) + '0';