Ignore:
Timestamp:
2010-12-25T21:20:28Z (13 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
631ee0c
Parents:
1bfd3d3 (diff), 09178b7f (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.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/console/kconsole.c

    r1bfd3d3 r973ef9fc  
    426426
    427427NO_TRACE static bool parse_int_arg(const char *text, size_t len,
    428     unative_t *result)
     428    sysarg_t *result)
    429429{
    430430        bool isaddr = false;
     
    461461                case EOK:
    462462                        if (isaddr)
    463                                 *result = (unative_t) symaddr;
     463                                *result = (sysarg_t) symaddr;
    464464                        else if (isptr)
    465                                 *result = **((unative_t **) symaddr);
     465                                *result = **((sysarg_t **) symaddr);
    466466                        else
    467                                 *result = *((unative_t *) symaddr);
     467                                *result = *((sysarg_t *) symaddr);
    468468                        break;
    469469                default:
     
    483483                        return false;
    484484                case EOK:
    485                         *result = (unative_t) value;
     485                        *result = (sysarg_t) value;
    486486                        if (isptr)
    487                                 *result = *((unative_t *) *result);
     487                                *result = *((sysarg_t *) *result);
    488488                        break;
    489489                default:
     
    629629                                            cmdline + start + 1,
    630630                                            (end - start) - 1);
    631                                         cmd->argv[i].intval = (unative_t) buf;
     631                                        cmd->argv[i].intval = (sysarg_t) buf;
    632632                                        cmd->argv[i].vartype = ARG_TYPE_STRING;
    633633                                } else {
Note: See TracChangeset for help on using the changeset viewer.