some code changes to get rid of compile warnings

This commit is contained in:
2023-01-28 00:41:44 +09:00
parent 3c46823832
commit d3fdb4bed4
8 changed files with 17 additions and 15 deletions

View File

@ -390,7 +390,7 @@ int hio_svc_htts_dotxt (hio_svc_htts_t* htts, hio_dev_sck_t* csck, hio_htre_t* r
if (txt_send_final_status_to_client(txt, status_code, content_type, content_text, 0) <= -1) goto oops;
HIO_SVC_HTTS_TASKL_APPEND_TASK (&htts->task, txt);
HIO_SVC_HTTS_TASKL_APPEND_TASK (&htts->task, (hio_svc_htts_task_t*)txt);
return 0;
oops: