You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by GitBox <gi...@apache.org> on 2018/04/07 05:18:19 UTC

[GitHub] ncasaril commented on issue #999: os_time: Prevent 0 ticks returned when OS_TICKS_PER_SEC < 1000

ncasaril commented on issue #999: os_time: Prevent 0 ticks returned when OS_TICKS_PER_SEC < 1000
URL: https://github.com/apache/mynewt-core/pull/999#issuecomment-379433318
 
 
   The function returns the same value for me with or without the parentheses. I'm assuming gcc is kind and upholds the standard well in this case. 
   
   The reason for me looking into this at all was that I was bitten by using OS_TICKS_PER_SEC / 1000 in a function of my own. Hence I went looking a bit wider for similar possible problems.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services