From 3a511a56fe7b6da1c2a173ffdbc92e9bc8da612a Mon Sep 17 00:00:00 2001 From: des Date: Thu, 19 Aug 2010 11:20:24 +0000 Subject: expand_number(3) takes a uint64_t * now; intmax_t was never correct except by accident. MFC after: 3 weeks --- sbin/geom/core/geom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin/geom/core/geom.c') diff --git a/sbin/geom/core/geom.c b/sbin/geom/core/geom.c index 49ebdc5..f673aad 100644 --- a/sbin/geom/core/geom.c +++ b/sbin/geom/core/geom.c @@ -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) { -- cgit v1.1