You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2021/07/02 15:14:41 UTC

[GitHub] [incubator-nuttx] hartmannathan commented on pull request #4043: select: fix asan report error

hartmannathan commented on pull request #4043:
URL: https://github.com/apache/incubator-nuttx/pull/4043#issuecomment-873073166


   Gotta be really careful with those left shifts!!!
   
   For example, on 64-bit, the expression `(1 << 31)` doesn't give `0x0000000080000000` like you'd expect, it will give the following useless junk: `0xffffffff80000000` (due to sign extension).
   
   Thanks to all for fixing/reviewing.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org