Fix a signed/unsigned warning introduced in 1b4568c

vout counter must be unsigned.