pkarashchenko commented on PR #1220:
URL:
https://github.com/apache/incubator-nuttx-apps/pull/1220#issuecomment-1186575619
```
In file included from nsh_syscmds.c:38:
nsh_syscmds.c: In function 'cmd_pmconfig':
Error: nsh_syscmds.c:220:24: error: format '%d' expects argument of type
'int', but argument 3 has type 'char *' [-Werror=format=]
220 | nsh_output(vtbl, "Last state %d, Next state %d",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
221 | "PM stay [%d, %d, %d, %d]\n",
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| |
| char *
nsh_console.h:53:49: note: in definition of macro 'nsh_output'
53 | # define nsh_output(v, ...) (v)->output(v, ##__VA_ARGS__)
| ^~~~~~~~~~~
```
--
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]