Use byte count, not character count
Address gcc warning