lrc: fix warnings
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
There are many warnings, some seemingly trivial to fix, which pop up when compiling lrc and when linking the clients against it... This is distracting and makes it harder to see errors as well as notice when a new patch introduces new warnings thus potentially reducing code quality.
These warnings should be removed as much as possible, especially the ones easy to fix.