[riot-notifications] [RIOT-OS/RIOT] sys/tsrb: bug fix for tsrb_get_one() (#11624)

Kaspar Schleiser notifications at github.com
Wed Jun 5 11:25:28 CEST 2019


kaspar030 commented on this pull request.



> @@ -32,7 +32,7 @@ static char _pop(tsrb_t *rb)
 int tsrb_get_one(tsrb_t *rb)
 {
     if (!tsrb_empty(rb)) {
-        return _pop(rb);
+        return (unsigned char)_pop(rb);

@smlng are you fine with this fix for now, and we revisit the API later?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11624#discussion_r290652111
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190605/0e061327/attachment.html>


More information about the notifications mailing list