make io offset unsigned

This commit is contained in:
Olga Kornievskaia 2012-02-17 14:47:00 -05:00 committed by unknown
parent 294f30baec
commit 0322f53cce
3 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -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;