urldata: make speeder_c uint32

This counter is meant to virtually never wrap.

Follow-up to e3691612ea

Spotted by Codex Security

Closes #21036
This commit is contained in:
Daniel Stenberg 2026-03-20 15:55:33 +01:00
parent 73a5288344
commit b9e179e4e5
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2

View file

@ -576,7 +576,7 @@ struct Progress {
curl_off_t speed_amount[CURL_SPEED_RECORDS];
struct curltime speed_time[CURL_SPEED_RECORDS];
uint8_t speeder_c;
uint32_t speeder_c;
BIT(hide);
BIT(ul_size_known);
BIT(dl_size_known);