shithub: dav1d

Download patch

ref: 2982ef9279c58c69e19c54b00177cd17a940491b
parent: aa8e9123a3504cd3b9d80da767ecf057f1355c09
author: James Almer <[email protected]>
date: Tue Oct 23 15:56:18 EDT 2018

libfuzzer: fix a -Wformat warning

--- a/tests/libfuzzer/main.c
+++ b/tests/libfuzzer/main.c
@@ -79,7 +79,7 @@
     }
 
     if (fread(data, size, 1, f) == size) {
-        fprintf(stderr, "failed to read %zu bytes from %s: %s\n", fsize,
+        fprintf(stderr, "failed to read %zu bytes from %s: %s\n", size,
                 filename, strerror(errno));
         goto error;
     }