Minor C fixes

These two commits get rid of a *lot* of compiler warnings, especially from `numbers.c`.