Skip to content

Commit

Permalink
Fixed fcVariant ToNative when encountering a int64 type id
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthieu Vachon committed May 7, 2020
1 parent a7047d5 commit c64178e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types.go
Expand Up @@ -1268,7 +1268,7 @@ func (a fcVariant) ToNative() interface{} {
}

if a.TypeID == fcVariantInt64Type {
return Int64(a.Impl.(uint64))
return Int64(a.Impl.(int64))
}

if a.TypeID == fcVariantUint64Type {
Expand Down

0 comments on commit c64178e

Please sign in to comment.