[riot-notifications] [RIOT-OS/RIOT] sys/tsrb: bug fix for tsrb_get_one() (#11624)
notifications at github.com
Wed Jun 5 11:52:02 CEST 2019
The problem now is, that it might fix for `\xff`, but now the result is not comparable to what you put into the ring buffer. If you e.g. put `'\xdb'` in the buffer, `tsrb_get_one()` will get you an integer 219 (0x000000db), which will yield false when you compare `'\xdb' == 219` without any cast.
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications