src/examples: muted compiler warnings

This commit is contained in:
Evgeny Grin (Karlson2k)
2022-06-01 22:12:37 +03:00
parent 74c2eba238
commit 93dcf8ea91
21 changed files with 209 additions and 54 deletions
+2 -1
View File
@@ -186,7 +186,8 @@ http_ahc (void *cls,
}
else
{
response = MHD_create_response_from_callback (buf.st_size, 32 * 1024, /* 32k PAGE_NOT_FOUND size */
response = MHD_create_response_from_callback ((size_t) buf.st_size,
32 * 1024, /* 32k page size */
&file_reader, file,
&file_free_callback);
if (NULL == response)