[PATCH] Fix compiler warnings in defmod

Dave Lambley dave at lambley.me.uk
Wed Jan 8 20:57:32 GMT 2020


Hello,

The attached patch resolves warnings picked up by gcc and clang (as
supplied by Ubuntu 18.04) when compiling defmod. It now compiles cleanly on
my amd64 machine.

There's a few silly fixes where there's no real problem, but also lots of
apparently inadequately sized buffers. Also, pointer casting shenanigans.

Best regards,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.compton.nu/pipermail/oslib-user/attachments/20200108/3a8177a5/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: compiler-warnings.patch
Type: text/x-patch
Size: 12760 bytes
Desc: not available
URL: <https://lists.compton.nu/pipermail/oslib-user/attachments/20200108/3a8177a5/attachment.bin>


More information about the oslib-user mailing list