Fix two compiler warnings introduced in a51dbb4a4de014238ab67ba507c