From 7f9f79656b26cd4b77c8b35993c7f4b0ca4f9f00 Mon Sep 17 00:00:00 2001 From: Nick K Date: Fri, 11 Mar 2016 11:54:07 +0300 Subject: [PATCH] Fixed typo for uint64 data loss checks' error --- values.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/values.go b/values.go index 143ed604..5a3a7d7a 100644 --- a/values.go +++ b/values.go @@ -713,7 +713,7 @@ func Decode(vr *ValueReader, d interface{}) error { return fmt.Errorf("Can't convert OID %v to uint64", vr.Type().DataType) } if valInt < 0 { - return fmt.Errorf("%d is less than zero for uint32", valInt) + return fmt.Errorf("%d is less than zero for uint64", valInt) } *v = uint64(valInt) case *Oid: