while (argc > 0) {
if (matches(*argv, "rate") == 0) {
NEXT_ARG();
- if (get_unsigned(&rate, *argv, 10) != 0) {
+ if (get_u32(&rate, *argv, 10) != 0) {
fprintf(stderr, "Illegal rate %s\n", *argv);
usage();
return -1;
rate_set = true;
} else if (matches(*argv, "group") == 0) {
NEXT_ARG();
- if (get_unsigned(&group, *argv, 10) != 0) {
+ if (get_u32(&group, *argv, 10) != 0) {
fprintf(stderr, "Illegal group num %s\n",
*argv);
usage();
group_set = true;
} else if (matches(*argv, "trunc") == 0) {
NEXT_ARG();
- if (get_unsigned(&trunc, *argv, 10) != 0) {
+ if (get_u32(&trunc, *argv, 10) != 0) {
fprintf(stderr, "Illegal truncation size %s\n",
*argv);
usage();