change some listing.c variables to unsigned.

The values are unsigned, and changing the types allows some casts to
be removed.
3 files changed