stlink-tool icon indicating copy to clipboard operation
stlink-tool copied to clipboard

Feature: compilation fixes

Open dragonmux opened this issue 3 years ago • 0 comments

This small patch does two important things for modern compilers:

  • It fixes a possible uninitialised use of sector (which because -Werror, stops compilation)
  • It improves code correctness by using size_t for an iteration type that can't be negative and which benefits from always being platform-native-width

dragonmux avatar Jun 23 '22 17:06 dragonmux