JianyuWang0623 opened a new pull request, #15448:
URL: https://github.com/apache/nuttx/pull/15448

   ## Summary
   Fix integer overflow error
   ```
   CID 1309501: (#1 of 1): Overflow constant (INTEGER_OVERFLOW)
   overflow_const: Expression upper->crefs, which is equal to 255, where enable 
? 1 : -1 is known to be equal to -1, overflows the type that receives it, an 
unsigned integer 8 bits wide.
   ```
   ## Impact
   drivers/sensors/gnss
   
   ## Testing
   CI
   
   
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to