Fix signed/unsigned mixup (John Stuffer)