[test] minor, fix -Weverything bot

This commit is contained in:
Ebrahim Byagowi 2019-05-11 18:48:41 -04:00 committed by GitHub
parent 25531a3039
commit 30c059a978
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -7,6 +7,7 @@
int main (int argc, char **argv)
{
hb_blob_t *blob = hb_blob_create_from_file (argv[1]);
unsigned int len;
const char *font_data = hb_blob_get_data (blob, &len);
if (len == 0)
@ -15,7 +16,7 @@ int main (int argc, char **argv)
exit (1);
}
for (unsigned int i = 1; i < argc; i++)
for (int i = 1; i < argc; i++)
{
printf ("%s\n", argv[i]);
LLVMFuzzerTestOneInput ((const uint8_t *) font_data, len);