Silence some -Wsign-compare warnings.

How do I do this? inline int addr does not work. Also, what do I do about u32 addr?