Warning fixes

Just some reorder/signedness stuff.

-[Unknown]