commit | ae5a66df4d33ba404d639bd0fc9189cd5ee79bcf | [log] [tgz] |
---|---|---|
author | Julien Schmidt <julienschmidt@users.noreply.github.com> | Tue May 02 18:08:56 2017 |
committer | GitHub <noreply@github.com> | Tue May 02 18:08:56 2017 |
tree | 695b4924d8307ef63e27045f11fcd4d1ea956409 | |
parent | af474b6efd526c7a5a56805160b186b56d4b08a6 [diff] |
packets: remove unnecessary conversion from float32 to float32 (#581)
diff --git a/packets.go b/packets.go index ae13330..cb21397 100644 --- a/packets.go +++ b/packets.go
@@ -1188,7 +1188,7 @@ continue case fieldTypeFloat: - dest[i] = float32(math.Float32frombits(binary.LittleEndian.Uint32(data[pos : pos+4]))) + dest[i] = math.Float32frombits(binary.LittleEndian.Uint32(data[pos : pos+4])) pos += 4 continue