Use %zu to print size_t count

This silences a compiler warning.
This commit is contained in:
George Koehler 2019-03-22 14:09:50 -04:00
parent f8cbe04447
commit dd328215d8

View file

@ -26,7 +26,7 @@ int main(int argc, const char* argv[])
count++;
}
printf("\n};\n");
printf("const size_t %s_len = %d;\n", argv[1], count);
printf("const size_t %s_len = %zu;\n", argv[1], count);
return 0;
}