goto end;
}
errno = 0;
- opt_clock_offset = strtoull(str, &endptr, 0);
+ opt_clock_offset = strtoll(str, &endptr, 0);
if (*endptr != '\0' || str == endptr || errno != 0) {
fprintf(stderr, "[error] Incorrect --clock-offset argument: %s\n", str);
ret = -EINVAL;
goto end;
}
errno = 0;
- opt_clock_offset_ns = strtoull(str, &endptr, 0);
+ opt_clock_offset_ns = strtoll(str, &endptr, 0);
if (*endptr != '\0' || str == endptr || errno != 0) {
fprintf(stderr, "[error] Incorrect --clock-offset-ns argument: %s\n", str);
ret = -EINVAL;