summaryrefslogtreecommitdiff
path: root/gettext-tools/gnulib-tests/test-read-file.c
diff options
context:
space:
mode:
Diffstat (limited to 'gettext-tools/gnulib-tests/test-read-file.c')
-rw-r--r--gettext-tools/gnulib-tests/test-read-file.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/gettext-tools/gnulib-tests/test-read-file.c b/gettext-tools/gnulib-tests/test-read-file.c
index fff96ec..f8b160f 100644
--- a/gettext-tools/gnulib-tests/test-read-file.c
+++ b/gettext-tools/gnulib-tests/test-read-file.c
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2006-2007, 2010-2014 Free Software Foundation, Inc.
+ * Copyright (C) 2006-2007, 2010-2015 Free Software Foundation, Inc.
* Written by Simon Josefsson
*
* This program is free software: you can redistribute it and/or modify
@@ -57,7 +57,8 @@ main (void)
/* FILE1 is a regular file or a symlink to a regular file. */
if (len != statbuf.st_size)
{
- fprintf (stderr, "Read %ld from %s...\n", (unsigned long) len, FILE1);
+ fprintf (stderr, "Read %lu from %s...\n",
+ (unsigned long) len, FILE1);
err = 1;
}
}
@@ -98,7 +99,8 @@ main (void)
is not a regular file. */
if (len != 0)
{
- fprintf (stderr, "Read %ld from %s...\n", (unsigned long) len, FILE2);
+ fprintf (stderr, "Read %lu from %s...\n",
+ (unsigned long) len, FILE2);
err = 1;
}
free (out);