joeycastillo / Sensor-Watch

A board replacement for the classic Casio F-91W wristwatch
Other
1.02k stars 210 forks source link

fix undefined behavior found by clang's sanitize #336

Closed theAlexes closed 7 months ago

theAlexes commented 7 months ago

The compiler isn't completely assured of the possible range of this variable. Probably harmless, but it clears up a clang sanitize error.