Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/drv/generic/remote_nic.c

    rd5c1051 rf9b2cb4c  
    105105        aid_t req = async_send_1(exch, DEV_IFACE_ID(NIC_DEV_IFACE),
    106106            NIC_SEND_MESSAGE, &answer);
    107         int retval = async_data_write_start(exch, data, size);
     107        sysarg_t retval = async_data_write_start(exch, data, size);
    108108       
    109109        async_exchange_end(exch);
     
    131131        ipc_call_t answer;
    132132        int rc;
    133         int retval;
     133        sysarg_t retval;
    134134       
    135135        async_exch_t *exch = async_exchange_begin(dev_sess);
     
    147147       
    148148        async_wait_for(req, &retval);
    149         return retval;
     149        return (int) retval;
    150150}
    151151
     
    210210        async_exchange_end(exch);
    211211       
    212         int res;
     212        sysarg_t res;
    213213        async_wait_for(aid, &res);
    214214       
     
    216216                return rc;
    217217       
    218         return res;
     218        return (int) res;
    219219}
    220220
     
    237237        async_exchange_end(exch);
    238238       
    239         int res;
     239        sysarg_t res;
    240240        async_wait_for(aid, &res);
    241241       
     
    243243                return rc;
    244244       
    245         return res;
     245        return (int) res;
    246246}
    247247
     
    295295        async_exchange_end(exch);
    296296
    297         int res;
     297        sysarg_t res;
    298298        async_wait_for(aid, &res);
    299299       
     
    301301                return rc;
    302302       
    303         return res;
     303        return (int) res;
    304304}
    305305
     
    629629        async_exchange_end(exch);
    630630       
    631         int res;
     631        sysarg_t res;
    632632        async_wait_for(message_id, &res);
    633633       
     
    635635                return rc;
    636636       
    637         return res;
     637        return (int) res;
    638638}
    639639
     
    717717        async_exchange_end(exch);
    718718       
    719         int res;
     719        sysarg_t res;
    720720        async_wait_for(message_id, &res);
    721721       
     
    723723                return rc;
    724724       
    725         return res;
     725        return (int) res;
    726726}
    727727
     
    878878        async_exchange_end(exch);
    879879       
    880         int res;
     880        sysarg_t res;
    881881        async_wait_for(message_id, &res);
    882882       
     
    884884                return rc;
    885885       
    886         return res;
     886        return (int) res;
    887887}
    888888
     
    938938        async_exchange_end(exch);
    939939       
    940         int res;
     940        sysarg_t res;
    941941        async_wait_for(message_id, &res);
    942942       
     
    944944                return rc;
    945945       
    946         return res;
     946        return (int) res;
    947947}
    948948
     
    997997            NIC_WOL_VIRTUE_ADD, (sysarg_t) type, send_data, &result);
    998998       
    999         int res;
     999        sysarg_t res;
    10001000        if (send_data) {
    10011001                int rc = async_data_write_start(exch, data, length);
     
    10111011       
    10121012        *id = IPC_GET_ARG1(result);
    1013         return res;
     1013        return (int) res;
    10141014}
    10151015
     
    13111311        async_exchange_end(exch);
    13121312       
    1313         int res;
     1313        sysarg_t res;
    13141314        async_wait_for(message_id, &res);
    13151315       
     
    13171317                return rc;
    13181318       
    1319         return res;
     1319        return (int) res;
    13201320}
    13211321
Note: See TracChangeset for help on using the changeset viewer.