aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-01-07 01:48:13 +0100
committerDimitri Sokolyuk <demon@dim13.org>2018-01-07 01:48:13 +0100
commitb81612536dc397047b52563c4cbf2a60a9d9bb86 (patch)
treeb5dcc2977f5e73c450ee0ffe81a3f74de48fb7e2 /cmd
parent7d6ee8d28f456561b2adb6d85f6c86bcbb44d353 (diff)
add doc
Diffstat (limited to 'cmd')
-rw-r--r--cmd/dump/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/dump/main.go b/cmd/dump/main.go
index 7e813be..593fd0f 100644
--- a/cmd/dump/main.go
+++ b/cmd/dump/main.go
@@ -31,7 +31,7 @@ func ReadBin(fname string) ([]uint16, error) {
}
size := stat.Size()
body := make([]uint16, int(size)/2)
- if err := binary.Read(fd, binary.BigEndian, &body); err != nil {
+ if err := binary.Read(fd, binary.LittleEndian, &body); err != nil {
return nil, err
}
return body, nil