Skip to content

Commit b082024

Browse files
committed
%.*s expects an int and not an unsigned long (size_t)
1 parent 31b7cab commit b082024

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/network/protocol/prometheus/network_protocol_prometheus.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -589,8 +589,8 @@ bool network_protocol_prometheus_process_request(
589589
channel,
590590
404,
591591
"Page not found",
592-
"The page <b>%*s</b> doesn't exist",
593-
http_request_data->url_length,
592+
"The page <b>%.*s</b> doesn't exist",
593+
(int)http_request_data->url_length,
594594
http_request_data->url);
595595
}
596596

0 commit comments

Comments
 (0)