aboutsummaryrefslogtreecommitdiff
path: root/field_uint64.go
diff options
context:
space:
mode:
Diffstat (limited to 'field_uint64.go')
-rw-r--r--field_uint64.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/field_uint64.go b/field_uint64.go
index d8e63a4..8e1a6c2 100644
--- a/field_uint64.go
+++ b/field_uint64.go
@@ -97,9 +97,9 @@ func (f FieldUint64Readonly) Exists() bool {
// Get returns the value for this header, or 0 if there is no value (or if it is
// not a valid uint64).
func (f FieldUint64Readonly) Get() uint64 {
- return FieldUint64{f.h, f.k}.Get()
+ return FieldUint64(f).Get()
}
func (f FieldUint64Readonly) validate() error {
- return FieldUint64{f.h, f.k}.validate()
+ return FieldUint64(f).validate()
}