fix compiler warning after revert

Signed-off-by: Chris Granger <ibdknox@gmail.com>