chiark / gitweb /
collect: fix size_t printf
authorKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)
committerKay Sievers <kay.sievers@vrfy.org>
Wed, 18 Jun 2008 08:12:14 +0000 (10:12 +0200)
extras/collect/collect.c

index 9fb6737..ce49b9f 100644 (file)
@@ -147,7 +147,7 @@ static int checkout(int fd)
                        if (!ptr && word < (buf + len)) {
                                bufsize = bufsize << 1;
                                if (debug)
-                                       fprintf(stderr, "ID overflow, restarting with size %d\n", bufsize);
+                                       fprintf(stderr, "ID overflow, restarting with size %zi\n", bufsize);
                                free(buf);
                                lseek(fd, 0, SEEK_SET);
                                goto restart;