2
0

Merge pull request #29 from antonypp/patch-1

Fix bug with bulid with env: GOOS=linux GOARCH=386
This commit is contained in:
Jack Christensen
2014-08-18 09:22:27 -05:00
+1 -1
View File
@@ -517,7 +517,7 @@ func encodeInt8(w *WriteBuf, value interface{}) error {
v = int64(value)
case uint64:
if value > math.MaxInt64 {
return fmt.Errorf("uint64 %d is larger than max int64 %d", value, math.MaxInt64)
return fmt.Errorf("uint64 %d is larger than max int64 %d", value, int64(math.MaxInt64))
}
v = int64(value)
case int: