Version 0.5.8 of LXPanel displays a decent amount of warnings during compilation. This is the first in a series of patches cleaning up the warnings. The patch applies specifically to the netstatus plugin.
[LXPanel] Patch cleaning up netstatus compilation warnings.
This was included into lxpanel sources long time ago. Thank you very much.