chiark / gitweb /
tests and a correction for grapheme cluster boundary detection
[disorder] / lib / printf.c
index 32f18fe570e65b4f2032b3258621fd3d786419bd..d52a1cc7fa595e8d6f860ccaa0ec5f0924534ba1 100644 (file)
@@ -145,6 +145,7 @@ static int check_integer(const struct conversion *c) {
   case l_intmax_t:
   case l_size_t:
   case l_longdouble:
+  case l_ptrdiff_t:
     return 0;
   default:
     return -1;