Changeset b5e68c8 in mainline for kernel/generic/src/console/kconsole.c
- Timestamp:
- 2011-05-12T16:49:44Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- f36787d7
- Parents:
- e80329d6 (diff), 750636a (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/kconsole.c
re80329d6 rb5e68c8 426 426 427 427 NO_TRACE static bool parse_int_arg(const char *text, size_t len, 428 unative_t *result)428 sysarg_t *result) 429 429 { 430 430 bool isaddr = false; … … 461 461 case EOK: 462 462 if (isaddr) 463 *result = ( unative_t) symaddr;463 *result = (sysarg_t) symaddr; 464 464 else if (isptr) 465 *result = **(( unative_t **) symaddr);465 *result = **((sysarg_t **) symaddr); 466 466 else 467 *result = *(( unative_t *) symaddr);467 *result = *((sysarg_t *) symaddr); 468 468 break; 469 469 default: … … 483 483 return false; 484 484 case EOK: 485 *result = ( unative_t) value;485 *result = (sysarg_t) value; 486 486 if (isptr) 487 *result = *(( unative_t *) *result);487 *result = *((sysarg_t *) *result); 488 488 break; 489 489 default: … … 629 629 cmdline + start + 1, 630 630 (end - start) - 1); 631 cmd->argv[i].intval = ( unative_t) buf;631 cmd->argv[i].intval = (sysarg_t) buf; 632 632 cmd->argv[i].vartype = ARG_TYPE_STRING; 633 633 } else {
Note:
See TracChangeset
for help on using the changeset viewer.