1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-23 00:00:06 +01:00
libwebsockets/lib/plat/freertos
Andy Green c9731c5f17 type comparisons: fixes
This is a huge patch that should be a global NOP.

For unix type platforms it enables -Wconversion to issue warnings (-> error)
for all automatic casts that seem less than ideal but are normally concealed
by the toolchain.

This is things like passing an int to a size_t argument.  Once enabled, I
went through all args on my default build (which build most things) and
tried to make the removed default cast explicit.

With that approach it neither change nor bloat the code, since it compiles
to whatever it was doing before, just with the casts made explicit... in a
few cases I changed some length args from int to size_t but largely left
the causes alone.

From now on, new code that is relying on less than ideal casting
will complain and nudge me to improve it by warnings.
2021-01-05 10:56:38 +00:00
..
esp32 lws_netdev: fix rssi averaging 2020-07-21 08:16:01 +01:00
CMakeLists.txt remove: old esp32 helper pieces 2020-07-15 16:18:00 +01:00
freertos-fds.c freertos: rename esp32 plat to freertos 2019-08-26 09:58:57 +01:00
freertos-file.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
freertos-init.c docs: switch to use main 2020-10-19 16:35:03 +01:00
freertos-misc.c freertos: fixes for build on atmel xdk 2020-09-03 12:49:54 +01:00
freertos-pipe.c context: refactor destroy flow 2020-11-28 10:58:38 +00:00
freertos-resolv.c sys: blob: appended bugflist blob offset by LWS_PRE 2021-01-04 05:40:12 +00:00
freertos-service.c freertos: fixes for build on atmel xdk 2020-09-03 12:49:54 +01:00
freertos-sockets.c type comparisons: fixes 2021-01-05 10:56:38 +00:00
private-lib-plat-freertos.h freertos: explicitly include semphr.h 2020-08-12 05:54:27 +01:00