mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-10-06 21:55:13 +00:00
rexecd: fix type change
Fix cast from pointer to integer of different size to ensure proper type conversion and avoid compilation warnings. Signed-off-by: hongfengchen <hongfengchen@xiaomi.com>
This commit is contained in:
parent
34e4d7eacd
commit
c69df55cd0
3 changed files with 20 additions and 20 deletions
|
|
@ -122,7 +122,7 @@ static void show_usage(FAR const char *progname)
|
|||
{
|
||||
printf("\nUsage: %s -m [max allocsize Default:8192] "
|
||||
"-n [node length Default:1024] -t [sleep us Default:100]"
|
||||
" -x [nthreads Default:1] -d [debuger mode]\n",
|
||||
" -x [nthreads Default:1] -d [debugger mode]\n",
|
||||
progname);
|
||||
printf("\nWhere:\n");
|
||||
printf(" -m [max-allocsize] max alloc size.\n");
|
||||
|
|
@ -217,7 +217,7 @@ static void checknode(FAR struct memorystress_thread_context_s *context,
|
|||
context->error.rwerror = rwerror;
|
||||
|
||||
error_result(context->error);
|
||||
lib_dumpbuffer("debuger", node->buf, size);
|
||||
lib_dumpbuffer("debugger", node->buf, size);
|
||||
|
||||
/* Trigger the ASSET once it occurs, retaining the error site */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue