]> git.ipfire.org Git - thirdparty/curl.git/commit
lib: change progress bitwise ops to bitfields
authorDaniel Stenberg <daniel@haxx.se>
Fri, 23 May 2025 14:47:52 +0000 (16:47 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 23 May 2025 21:13:03 +0000 (23:13 +0200)
commit129719c29c96833e68b14e3fc3a7c7d9d1c74501
treea276dfee65fbdff81c68852b2a9f26e85dbbf7e7
parent37b25f7bb0f055c5904da90ea529f29c818c5519
lib: change progress bitwise ops to bitfields

Since they are mostly independent, using them as bitfelds makes the code
easier.

- remove the unused struct field 'width'.

- convert 'speeder_c' to an unsigned char from int

Closes #17431
lib/easy.c
lib/getinfo.c
lib/progress.c
lib/progress.h
lib/setopt.c
lib/url.c
lib/urldata.h