X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/6a6b327d8e34312fd3b25bbbfda0379406161e61..cb9a695c5b6058d2c319789ca154f555d6c0815c:/lib/printf.c diff --git a/lib/printf.c b/lib/printf.c index 7129df5..d52a1cc 100644 --- a/lib/printf.c +++ b/lib/printf.c @@ -1,6 +1,6 @@ /* * This file is part of DisOrder - * Copyright (C) 2004 Richard Kettlewell + * Copyright (C) 2004, 2007 Richard Kettlewell * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -33,6 +33,7 @@ #include "printf.h" #include "sink.h" +#include "vacopy.h" enum flags { f_thousands = 1, @@ -144,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;