Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/phin1x/go-ipp
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabian Weber committed Mar 6, 2020

Unverified

This user has not yet uploaded their public signing key.
2 parents 1249335 + ddc8e9c commit 26693ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reqest.go
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ func (r *Request) Encode() ([]byte, error) {
return nil, err
}

if err := binary.Write(buf, binary.BigEndian, r.Operation); err != nil {
if err := binary.Write(buf, binary.BigEndian, int16(r.Operation)); err != nil {
return nil, err
}

0 comments on commit 26693ea

Please sign in to comment.