Define lwIP's s32/u32 to int by d-a-v · Pull Request #8560 · esp8266/Arduino

added 4 commits

May 11, 2022 11:19
s32/u32 were previously defined as long,
but long can be 64 bits in host mode,
so this commit reduces valgrind complaints and increase coherency.

@d-a-v d-a-v mentioned this pull request

May 11, 2022

@mcspr mcspr mentioned this pull request

May 14, 2022

@d-a-v

@d-a-v

hasenradball pushed a commit to hasenradball/Arduino that referenced this pull request

Nov 18, 2024
* Define lwIP's s32/u32 to int

s32/u32 were previously defined as long,
but long can be 64 bits in host mode,
so this commit reduces valgrind complaints and increase coherency.

* some lads like to use `unsigned long` for 32 bits IPv4 addresses

* fix lwIP's `sys_now()` return type

* fix C declarations

* merge upstream (lwip2) update on sys_now() definition

* matching lwIP api (2/2)

Co-authored-by: Max Prokhorov <prokhorov.max@outlook.com>