mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-02 16:06:19 +00:00
io/router: fix negative areas
Signed-off-by: Egon Elbre <egonelbre@gmail.com>
This commit is contained in:
@@ -409,7 +409,7 @@ func searchTag(tags []event.Tag, tag event.Tag) (int, bool) {
|
||||
}
|
||||
|
||||
func opDecodeFloat32(d []byte) float32 {
|
||||
return float32(binary.LittleEndian.Uint32(d))
|
||||
return float32(int32(binary.LittleEndian.Uint32(d)))
|
||||
}
|
||||
|
||||
func (op *areaOp) Decode(d []byte) {
|
||||
|
||||
Reference in New Issue
Block a user