expand_number(3) takes a uint64_t * now; intmax_t was never correct
except by accident. MFC after: 3 weeks
This commit is contained in:
parent
1727cdb62a
commit
35efcc8b69
@ -237,7 +237,7 @@ static void
|
|||||||
set_option(struct gctl_req *req, struct g_option *opt, const char *val)
|
set_option(struct gctl_req *req, struct g_option *opt, const char *val)
|
||||||
{
|
{
|
||||||
char *s;
|
char *s;
|
||||||
intmax_t number;
|
uint64_t number;
|
||||||
|
|
||||||
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
|
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
|
||||||
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
|
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user