summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/lib/h5tools.h2
-rw-r--r--tools/misc/h5repart.c15
2 files changed, 9 insertions, 8 deletions
diff --git a/tools/lib/h5tools.h b/tools/lib/h5tools.h
index eda4a39..7da13b6 100644
--- a/tools/lib/h5tools.h
+++ b/tools/lib/h5tools.h
@@ -394,7 +394,7 @@ typedef struct h5tools_context_t {
int prev_multiline; /*was prev datum multiline? */
size_t prev_prefix_len;/*length of previous prefix */
int continuation; /*continuation of previous data?*/
- int size_last_dim; /*the size of the last dimension,
+ hsize_t size_last_dim; /*the size of the last dimension,
*needed so we can break after each
*row */
int indent_level; /*the number of times we need some
diff --git a/tools/misc/h5repart.c b/tools/misc/h5repart.c
index 4a28069..fccc378 100644
--- a/tools/misc/h5repart.c
+++ b/tools/misc/h5repart.c
@@ -196,7 +196,6 @@ main (int argc, char *argv[])
h5_stat_t sb;
int verbose=FALSE; /*display file names? */
- size_t left_overs=0; /*amount of zeros left over */
const char *src_gen_name; /*general source name */
char src_name[NAMELEN]; /*source member name */
@@ -211,15 +210,17 @@ main (int argc, char *argv[])
#ifdef WIN32
- _int64 src_offset=0; /*offset in source member */
- _int64 dst_offset=0; /*offset in destination member */
- _int64 src_size; /*source logical member size */
+ _int64 left_overs=0; /*amount of zeros left over */
+ _int64 src_offset=0; /*offset in source member */
+ _int64 dst_offset=0; /*offset in destination member */
+ _int64 src_size; /*source logical member size */
_int64 src_act_size; /*source actual member size */
_int64 dst_size=1 GB; /*destination logical memb size */
#else
- off_t src_offset=0; /*offset in source member */
- off_t dst_offset=0; /*offset in destination member */
- off_t src_size; /*source logical member size */
+ off_t left_overs=0; /*amount of zeros left over */
+ off_t src_offset=0; /*offset in source member */
+ off_t dst_offset=0; /*offset in destination member */
+ off_t src_size; /*source logical member size */
off_t src_act_size; /*source actual member size */
off_t dst_size=1 GB; /*destination logical memb size */
#endif