[remoted] fix compiler warnings
Merge pull request #386 from cgzones/remoted

[remoted] fix compiler warnings