summaryrefslogtreecommitdiff
path: root/src/stdlib/_strtoi.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/stdlib/_strtoi.h')
-rw-r--r--src/stdlib/_strtoi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stdlib/_strtoi.h b/src/stdlib/_strtoi.h
index dc160aeb..194e0c8f 100644
--- a/src/stdlib/_strtoi.h
+++ b/src/stdlib/_strtoi.h
@@ -106,6 +106,7 @@
if (ret > max / base) {
overflow = 1;
+ UNDEFINED("In call to %s(): %s (base %d) is not representable", __func__, start, base);
} else {
ret = (ret * base) + n;
}