Fix GCC warnings.  It turns out two out of three pointed to real bugs!
1 file changed