Fork us on GitHub Follow us on Facebook Follow us on Twitter

Ignore:
Timestamp:
2010-12-17T08:59:35Z (11 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master
Children:
58854f2
Parents:
70e5ad5 (diff), 11658b64 (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 development/ changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r70e5ad5 r5863a95  
    327327
    328328        *answer_count = 0;
    329         switch (IPC_GET_METHOD(*call)) {
     329        switch (IPC_GET_IMETHOD(*call)) {
    330330        case IPC_M_PHONE_HUNGUP:
    331331                return EOK;
     
    337337                        return ENOMEM;
    338338                *answer_count = 2;
    339                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->packet_id);
    340                 IPC_SET_ARG2(*answer, (ipcarg_t) packet->length);
     339                IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id);
     340                IPC_SET_ARG2(*answer, (sysarg_t) packet->length);
    341341                return EOK;
    342342       
     
    351351                        return ENOMEM;
    352352                *answer_count = 2;
    353                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->packet_id);
    354                 IPC_SET_ARG2(*answer, (ipcarg_t) packet->length);
     353                IPC_SET_ARG1(*answer, (sysarg_t) packet->packet_id);
     354                IPC_SET_ARG2(*answer, (sysarg_t) packet->length);
    355355                return EOK;
    356356       
     
    365365                if (!packet_is_valid(packet))
    366366                        return ENOENT;
    367                 IPC_SET_ARG1(*answer, (ipcarg_t) packet->length);
     367                IPC_SET_ARG1(*answer, (sysarg_t) packet->length);
    368368                *answer_count = 1;
    369369                return EOK;
Note: See TracChangeset for help on using the changeset viewer.