summaryrefslogtreecommitdiffstats
path: root/test/ragged.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/ragged.c')
-rw-r--r--test/ragged.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/test/ragged.c b/test/ragged.c
index f89412d..f55d0f9 100644
--- a/test/ragged.c
+++ b/test/ragged.c
@@ -196,7 +196,11 @@ ragged_write_all(hid_t ra, hsize_t rows_at_once)
hssize_t row; /*current row number */
hsize_t i; /*counter */
hsize_t max_width = quant_g[NELMTS(quant_g)-1].hi;
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
+#else
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
hsize_t *size=NULL; /*size of each row */
void **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */
@@ -298,7 +302,11 @@ ragged_read_all(hid_t ra, hsize_t rows_at_once)
int total_nelmts=0;
hsize_t i, j; /*counters */
hssize_t row; /*current row number */
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
+#else
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
hsize_t *size=NULL; /*size of each row */
C_MTYPE **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */
@@ -429,8 +437,14 @@ ragged_read_short(hid_t ra, hsize_t rows_at_once, hsize_t width)
int total_nelmts=0;
hsize_t i, j;
hssize_t row; /*current row number */
+#if !defined(WIN32)
hsize_t interval_nelmts; /*elmts/interval timer */
- hsize_t read_nelmts=0; /*total elements read */
+ hsize_t read_nelmts=0; /*total elements read */
+#else
+ hssize_t read_nelmts=0; /*total elements read */
+ hssize_t interval_nelmts; /*elmts/interval timer */
+#endif
+
hsize_t *size=NULL; /*size of each row */
C_MTYPE **buf=NULL; /*buffer for each row */
H5_timer_t timer, timer_total; /*performance timers */