Skip to content

Commit

Permalink
Make read/written NDMP bytes 64 bits.
Browse files Browse the repository at this point in the history
A 32 bit counter will wrap around when storing the size of an NDMP save
or restore so use a 64 bits value.
  • Loading branch information
Marco van Wieringen committed Oct 28, 2013
1 parent f72fbc6 commit 0fc0f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ndmp/ndmagents.h
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,8 @@ struct ndm_job_param {
unsigned long n_node_entry;
unsigned long long root_node;

unsigned long bytes_written;
unsigned long bytes_read;
unsigned long long bytes_written;
unsigned long long bytes_read;
};

/* ndma_job.c */
Expand Down

0 comments on commit 0fc0f95

Please sign in to comment.