You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "JianyuWang0623 (via GitHub)" <gi...@apache.org> on 2024/04/10 11:23:33 UTC

[PR] drivers/power/pm: Fix warning of type cast [nuttx]

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

   ## Summary
   sim (Ubuntu 22.04.3 LTS (x86_64 GNU/Linux)), enable PM
   ```
   power/pm/pm_autoupdate.c: In function ‘pm_auto_updatestate’:
   power/pm/pm_autoupdate.c:84:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      84 |                      pm_auto_updatestate_cb, (FAR void *)domain, 0);
         |                                              ^
   power/pm/pm_autoupdate.c:89:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
      89 |           pm_auto_updatestate_cb((FAR void *)domain);
         |                                  ^
   ```
   
   ## Impact
   
   ## Testing
   sim:nsh
   


-- 
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


Re: [PR] drivers/power/pm: Fix warning of type cast [nuttx]

Posted by "xiaoxiang781216 (via GitHub)" <gi...@apache.org>.
xiaoxiang781216 merged PR #12120:
URL: https://github.com/apache/nuttx/pull/12120


-- 
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