Fix format-string warning
authorRalph Giles <giles@xiph.org>
Mon, 7 Mar 2011 21:00:05 +0000 (13:00 -0800)
committerRalph Giles <giles@xiph.org>
Mon, 7 Mar 2011 21:21:39 +0000 (13:21 -0800)
commitfe9a604b1ec8140817fc913a697d063ad547cace
tree2d82d2eadaf211b802583a669fa593d4327801a3
parent3fae3283e6037a0b20f5e32402ba8e50d7ef859e
Fix format-string warning

Cast size_t to (unsigned long) and print it with the %lu format
string, which is more portable than C99's explict %zu for size_t.

This truncates on Windows x64 but otherwise works on 32 and 64 bit
platforms. In practice the stats file is unlikely to be so large.

Change-Id: I0432b3acf85fc6ba4ad50640942e1ca4614b21cb
vpxenc.c