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:
Dag-Erling Smørgrav 2010-08-19 11:20:24 +00:00
parent 1727cdb62a
commit 35efcc8b69
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=211500

View File

@ -237,7 +237,7 @@ static void
set_option(struct gctl_req *req, struct g_option *opt, const char *val)
{
char *s;
intmax_t number;
uint64_t number;
if (G_OPT_TYPE(opt) == G_TYPE_NUMBER ||
G_OPT_TYPE(opt) == G_TYPE_ASCNUM) {