A couple more fixes

A stupid typo from yesterday an a compiler warning.