summaryrefslogtreecommitdiff
path: root/tests/cpp_test.cc
diff options
context:
space:
mode:
authorErik de Castro Lopo <erikd@mega-nerd.com>2007-04-15 20:15:32 +1000
committerErik de Castro Lopo <erikd@mega-nerd.com>2007-04-15 20:15:32 +1000
commitabee60d5e1e0f301b672f7ebad0a35bae77084da (patch)
tree9477ea63fae576dd641562594a74b0d1566a51b9 /tests/cpp_test.cc
parentefe8157cfac965ae60e0b93ecb880b36eccfc5b5 (diff)
tests/cpp_test.cc : Fix printf format flag.
Diffstat (limited to 'tests/cpp_test.cc')
-rw-r--r--tests/cpp_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cpp_test.cc b/tests/cpp_test.cc
index a2e7195..815c20f 100644
--- a/tests/cpp_test.cc
+++ b/tests/cpp_test.cc
@@ -123,7 +123,7 @@ read_file (const char * filename, int format)
} ;
if (file.frames () != ARRAY_LEN (sbuffer) * 4)
- { printf ("\n\n%s %d : Error : frames %ld should be %lu.\n\n", __func__, __LINE__,
+ { printf ("\n\n%s %d : Error : frames %ld should be %u.\n\n", __func__, __LINE__,
SF_COUNT_TO_LONG (file.frames ()), ARRAY_LEN (sbuffer) * 4 / 2) ;
exit (1) ;
} ;