Created attachment 8241 Fix compiler warnings Under FreeBSD (not tested with Linux), and with Clang as compiler, I get some warnings. Patch fixes most of them.
Andre Miranda referenced this bugreport in commit 623613a4e15fab968de1e95b12259b028f636cd1 Fix compile warning (Bug #15037) https://git.xfce.org/xfce/xfdesktop/commit?id=623613a4e15fab968de1e95b12259b028f636cd1
Meh, ignore that last message, I was dealing with warnings but it was meant for bug 15034. Sorry.
Olivier Duchateau referenced this bugreport in commit bb91182cb92208aa0daf2d532a0cd3b46a05a6a3 Fix some warnings reported by Clang (Bug #15037) https://git.xfce.org/panel-plugins/xfce4-battery-plugin/commit?id=bb91182cb92208aa0daf2d532a0cd3b46a05a6a3
Looks good to me, thanks!