Fixed typo for uint64 data loss checks' error

This commit is contained in:
Nick K 2016-03-11 11:54:07 +03:00
parent 0ea1a5245c
commit 7f9f79656b

View File

@ -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: