Changeset c61d34b in mainline for uspace/lib/libc/generic/vfs/vfs.c


Ignore:
Timestamp:
2008-10-09T19:26:58Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
756f475
Parents:
06d6505
Message:

Fix assorted warnings.

File:
1 edited

Legend:

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

    r06d6505 rc61d34b  
    117117}
    118118
    119 static int device_get_handle(char *name, dev_handle_t *handle)
     119static int device_get_handle(const char *name, dev_handle_t *handle)
    120120{
    121121        int phone = ipc_connect_me_to(PHONE_NS, SERVICE_DEVMAP, DEVMAP_CLIENT,
     
    365365        }
    366366               
    367         off_t newoffs;
     367        ipcarg_t newoffs;
    368368        rc = async_req_3_1(vfs_phone, VFS_SEEK, fildes, offset, whence,
    369             (ipcarg_t)&newoffs);
     369            &newoffs);
    370370
    371371        async_serialize_end();
     
    375375                return (off_t) -1;
    376376       
    377         return newoffs;
     377        return (off_t) newoffs;
    378378}
    379379
Note: See TracChangeset for help on using the changeset viewer.