shithub: libvpx

Download patch

ref: 1016b856d1536e87a71ff4d9cfe8423054b7f559
parent: 0491c2cfc89cded04de386ae691654c7653aac9b
parent: fe9a604b1ec8140817fc913a697d063ad547cace
author: John Koleszar <jkoleszar@google.com>
date: Mon Mar 7 08:25:28 EST 2011

Merge "Fix format-string warning"

--- a/vpxenc.c
+++ b/vpxenc.c
@@ -163,8 +163,8 @@
 
         if (!stats->buf.buf)
         {
-            fprintf(stderr, "Failed to allocate first-pass stats buffer (%d bytes)\n",
-                    stats->buf_alloc_sz);
+            fprintf(stderr, "Failed to allocate first-pass stats buffer (%lu bytes)\n",
+                    (unsigned long)stats->buf_alloc_sz);
             exit(EXIT_FAILURE);
         }