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 -2
View File
@@ -778,8 +778,8 @@ main (int argc, char *const *argv)
break; /* fatal internal error */
if (MHD_get_timeout64 (d, &mhd_timeout) == MHD_YES)
{
tv.tv_sec = mhd_timeout / 1000;
tv.tv_usec = (mhd_timeout - (tv.tv_sec * 1000)) * 1000;
tv.tv_sec = (time_t) mhd_timeout / 1000;
tv.tv_usec = ((long) (mhd_timeout % 1000)) * 1000;
tvp = &tv;
}
else