Fix two gcc warnings