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 79c1879..25e0cb1 100644
--- a/ber/marshal.go
+++ b/ber/marshal.go
@@ -79,7 +79,7 @@ func (e *encodeState) error(err error) {
}
func intEncoder(e *encodeState, v reflect.Value) {
- b := marshalInt(v.Int())
+ b := MarshalInt(int(v.Int()))
e.Write(b)
}