commit b36003506ecd5e9b0646fae56e9db9a937e2b628
parent 9d2383812e39e7a72f305b8e8f3c36b549a48f75
Author: Kyle Milz <kyle@getaddrinfo.net>
Date: Sun, 13 Mar 2016 21:11:36 -0600
viewer: fix up format string
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/viewer/shader_utils.cxx b/viewer/shader_utils.cxx
@@ -57,7 +57,7 @@ file_read(const char *filename)
in.read(buffer, length);
if (!in.good())
- errx(1, "in.read(): only %i bytes could be read", in.gcount());
+ errx(1, "in.read(): only %li bytes could be read", in.gcount());
in.close();
return buffer;