With gcc 9.2.1: ../src/hardware/asix-sigma/protocol.c: In function ‘download_capture’: ../src/hardware/asix-sigma/protocol.c:175:7: warning: array subscript -1 is outside array bounds of ‘uint32_t[1]’ {aka ‘unsigned int[1]’} [-Warray-bounds] 175 | if ((*--triggerpos & 0x1ff) == 0x1ff) | ^~~~~~~~~~~~~ ../src/hardware/asix-sigma/protocol.c:1002:20: note: while referencing ‘triggerpos’ 1002 | uint32_t stoppos, triggerpos; | ^~~~~~~~~~ ../src/hardware/asix-sigma/protocol.c:176:15: warning: array subscript -1 is outside array bounds of ‘uint32_t[1]’ {aka ‘unsigned int[1]’} [-Warray-bounds] 176 | *triggerpos -= 64; | ~~~~~~~~~~~~^~~~~ ../src/hardware/asix-sigma/protocol.c:1002:20: note: while referencing ‘triggerpos’ 1002 | uint32_t stoppos, triggerpos; | ^~~~~~~~~~
Fixed in dc40081706b0bb77dde412a08f6234809fca4946, thanks!