make io offset unsigned
This commit is contained in:
parent
294f30baec
commit
0322f53cce
3 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ static int parse_rw(unsigned char *buffer, uint32_t length, nfs41_upcall *upcall
|
|||
status = safe_read(&buffer, &length, &args->buffer, sizeof(args->buffer));
|
||||
if (status) goto out;
|
||||
|
||||
dprintf(1, "parsing %s len=%ld offset=%ld buf=%p\n",
|
||||
dprintf(1, "parsing %s len=%lu offset=%llu buf=%p\n",
|
||||
opcode2string(upcall->opcode), args->len, args->offset, args->buffer);
|
||||
out:
|
||||
return status;
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ typedef struct __close_upcall_args {
|
|||
|
||||
typedef struct __readwrite_upcall_args {
|
||||
unsigned char *buffer;
|
||||
LONGLONG offset;
|
||||
ULONGLONG offset;
|
||||
ULONG len;
|
||||
ULONG out_len;
|
||||
ULONGLONG ctime;
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ typedef struct _updowncall_entry {
|
|||
struct {
|
||||
PMDL MdlAddress;
|
||||
PVOID buf;
|
||||
LONGLONG offset;
|
||||
ULONGLONG offset;
|
||||
ULONG len;
|
||||
PRX_CONTEXT rxcontext;
|
||||
ULONGLONG ChangeTime;
|
||||
|
|
@ -743,7 +743,7 @@ NTSTATUS marshal_nfs41_rw(
|
|||
*len = header_len;
|
||||
|
||||
#ifdef DEBUG_MARSHAL_DETAIL
|
||||
DbgP("marshal_nfs41_rw: len=%u offset=%lu MdlAddress=%p Userspace=%p\n",
|
||||
DbgP("marshal_nfs41_rw: len=%lu offset=%llu MdlAddress=%p Userspace=%p\n",
|
||||
entry->u.ReadWrite.len, entry->u.ReadWrite.offset,
|
||||
entry->u.ReadWrite.MdlAddress, entry->u.ReadWrite.buf);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue