aboutsummaryrefslogtreecommitdiff
path: root/ber/marshal.go
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-08-06 17:21:46 +0200
committerDimitri Sokolyuk <demon@dim13.org>2015-08-06 17:21:46 +0200
commit7730784e5848c214b5d7206d753888d2f55ddb97 (patch)
treecc3099e795dca1a1ee0ec73bc25cfc53ab75d644 /ber/marshal.go
parentec6c8b5883eccdf304b932e25f847a2546ec46f5 (diff)
Move from int64 to int
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)
}