ccollins476ad commented on issue #1093: timeout/tick / int32_t vs uint32_t URL: https://github.com/apache/mynewt-core/issues/1093#issuecomment-391742067 Assigning a too-large number to a signed type is not undefined behavior, it is implementation defined. gcc (and I believe nearly all compilers) define this behavior in the expected way: https://gcc.gnu.org/onlinedocs/gcc/Integers-implementation.html So, that is exactly what the signed time type is for :).
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
