fix some compiler warnings

Signed-off-by: W. Michael Petullo <mike@flyn.org>