about summary refs log tree commit diff
path: root/stdlib/strtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/strtod.c')
-rw-r--r--stdlib/strtod.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/stdlib/strtod.c b/stdlib/strtod.c
index 6f3ea26c0f..8269010bc3 100644
--- a/stdlib/strtod.c
+++ b/stdlib/strtod.c
@@ -378,6 +378,8 @@ INTERNAL (STRTOF) (nptr, endptr, group)
      in the format described in <locale.h>.  */
   const char *grouping;
 
+  assert (sizeof (wchar_t) <= sizeof (wint_t));
+
   if (group)
     {
       grouping = _NL_CURRENT (LC_NUMERIC, GROUPING);