Correct a couple of compiler warnings