This PR consists of two commits fixing two different issues.
Commits:
Fixes compiler warning about using strncpy() with length argument derived from source string. This is the same change as in PR #56.
Compilers complain about signed-unsigned comparisons in 'for' loops. Change variable 'i' type to 'uint32_t'. This will not change behavior of existing code as 'i' was already compared in unsigned mode. Also add cast to variable 'r' to quell compiler warning about signed-unsigned comparison.
Again, I have no way of testing the changes, but they are fairly straightforward.
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.