aboutsummaryrefslogtreecommitdiff
path: root/ber/marshal.go
diff options
context:
space:
mode:
Diffstat (limited to 'ber/marshal.go')
-rw-r--r--ber/marshal.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ber/marshal.go b/ber/marshal.go
index b5096ec..c73c122 100644
--- a/ber/marshal.go
+++ b/ber/marshal.go
@@ -84,6 +84,6 @@ func intEncoder(e *encodeState, v reflect.Value) {
}
func objEncoder(e *encodeState, v reflect.Value) {
- b := marshalObj(v.Interface().(Obj))
+ b := marshalOID(v.Interface().(OID))
e.Write(b)
}