[PATCH] Fix compiler warnings in defmod

Dave Lambley dave at lambley.me.uk
Wed Jan 8 20:03:40 GMT 2020


Hello,

The attached patch resolves warnings picked up by gcc and clang 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, lots of pointer casting
shenanigans.

Best regards,
Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.compton.nu/pipermail/oslib-user/attachments/20200108/809dd931/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/809dd931/attachment.bin>


More information about the oslib-user mailing list