Changeset 8ad8e49 in mainline


Ignore:
Timestamp:
2008-03-10T21:56:42Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f2ec8c8
Parents:
07deef5
Message:

VFS index needs to be treated as uint64_t.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/vfs/vfs_lookup.c

    r07deef5 r8ad8e49  
    8383                return EINVAL;
    8484       
    85         unsigned long index = 0;
     85        uint64_t index = 0;
    8686        if (lflag & L_LINK) {
    8787                va_list ap;
    8888
    8989                va_start(ap, altroot);
    90                 index = va_arg(ap, unsigned long);
     90                index = va_arg(ap, uint64_t);
    9191                va_end(ap);
    9292        }
     
    180180                result->triplet.fs_handle = (int) IPC_GET_ARG1(answer);
    181181                result->triplet.dev_handle = (int) IPC_GET_ARG2(answer);
    182                 result->triplet.index = (int) IPC_GET_ARG3(answer);
     182                result->triplet.index = (uint64_t) IPC_GET_ARG3(answer);
    183183                result->size = (size_t) IPC_GET_ARG4(answer);
    184184                result->lnkcnt = (unsigned) IPC_GET_ARG5(answer);
Note: See TracChangeset for help on using the changeset viewer.