summaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/github.com/lib/pq/buf.go
diff options
context:
space:
mode:
Diffstat (limited to 'Godeps/_workspace/src/github.com/lib/pq/buf.go')
-rw-r--r--Godeps/_workspace/src/github.com/lib/pq/buf.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/Godeps/_workspace/src/github.com/lib/pq/buf.go b/Godeps/_workspace/src/github.com/lib/pq/buf.go
index e7ff57771..fd7a3c573 100644
--- a/Godeps/_workspace/src/github.com/lib/pq/buf.go
+++ b/Godeps/_workspace/src/github.com/lib/pq/buf.go
@@ -4,7 +4,7 @@ import (
"bytes"
"encoding/binary"
- "github.com/lib/pq/oid"
+ "github.com/mattermost/platform/Godeps/_workspace/src/github.com/lib/pq/oid"
)
type readBuf []byte
@@ -21,6 +21,7 @@ func (b *readBuf) oid() (n oid.Oid) {
return
}
+// N.B: this is actually an unsigned 16-bit integer, unlike int32
func (b *readBuf) int16() (n int) {
n = int(binary.BigEndian.Uint16(*b))
*b = (*b)[2:]