X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/6a6b327d8e34312fd3b25bbbfda0379406161e61..5617aaff51ba333441230e3808bc697e66540492:/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;