From 7310666479f5f4370c375638321c0c60113641a4 Mon Sep 17 00:00:00 2001 From: Evgenii Stratonikov Date: Tue, 24 Mar 2020 17:17:28 +0300 Subject: [PATCH] cli: fix type in flags.Fixed8FromContext --- cli/flags/fixed8.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/flags/fixed8.go b/cli/flags/fixed8.go index 5c199c16b..919652fb8 100644 --- a/cli/flags/fixed8.go +++ b/cli/flags/fixed8.go @@ -71,5 +71,5 @@ func (f Fixed8Flag) Apply(set *flag.FlagSet) { // Fixed8FromContext returns parsed util.Fixed8 value provided flag name. func Fixed8FromContext(ctx *cli.Context, name string) util.Fixed8 { - return ctx.Generic(name).(*Fixed8Flag).Value.Fixed8() + return ctx.Generic(name).(*Fixed8).Value }