summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sbin/geom/core/geom.c2
1 files changed, 1 insertions, 1 deletions
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) {
OpenPOWER on IntegriCloud