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

Changeset b78d0bd in mainline


Ignore:
Timestamp:
2009-06-03T19:18:44Z (13 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master
Children:
5779a74
Parents:
433131d
Message:

explicit typecast

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/generic/ipc.c

    r433131d rb78d0bd  
    233233        }
    234234
    235         if (callid == IPC_CALLRET_FATAL) {
     235        if (callid == (ipc_callid_t) IPC_CALLRET_FATAL) {
    236236                futex_up(&ipc_futex);
    237237                /* Call asynchronous handler with error code */
     
    242242        }
    243243
    244         if (callid == IPC_CALLRET_TEMPORARY) {
     244        if (callid == (ipc_callid_t) IPC_CALLRET_TEMPORARY) {
    245245                futex_up(&ipc_futex);
    246246
     
    310310            arg2, arg3, arg4);
    311311
    312         if (callid == IPC_CALLRET_TEMPORARY) {
     312        if (callid == (ipc_callid_t) IPC_CALLRET_TEMPORARY) {
    313313                if (!call) {
    314314                        call = ipc_prepare_async(private, callback);
     
    443443                callid = _ipc_call_async(call->u.msg.phoneid,
    444444                    &call->u.msg.data);
    445                 if (callid == IPC_CALLRET_TEMPORARY) {
     445                if (callid == (ipc_callid_t) IPC_CALLRET_TEMPORARY) {
    446446                        break;
    447447                }
     
    452452                        fibril_add_ready(call->fid);
    453453               
    454                 if (callid == IPC_CALLRET_FATAL) {
     454                if (callid == (ipc_callid_t) IPC_CALLRET_FATAL) {
    455455                        if (call->callback)
    456456                                call->callback(call->private, ENOENT, NULL);
Note: See TracChangeset for help on using the changeset viewer.