[reportd] fix compiler warnings
Merge pull request #387 from cgzones/reportd

[reportd] fix compiler warnings