This PR consists of two commits fixing two different issues.
Commits:
Adds a check to see if read() succeeded or not. This also quiets compiler warning about read() return value not being checked.
This fix quiets compiler warning about signed-unsigned comparison in 'for' loop. The 'for' loop is trivial and variable 'i' is already implicitly used as unsigned value in the loop comparison.
Again, I have no way of testing the changes, but they are fairly straightforward.
Thanks, committed: asalamon74/pktriggercord@81235b2ea20196fb781f5048b9b33ca8e6917b1b and asalamon74/pktriggercord@3f5e9e48253533a76f88310a44276228959ce929
This PR consists of two commits fixing two different issues.
Commits:
Again, I have no way of testing the changes, but they are fairly straightforward.