summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
Diffstat (limited to 'hl')
-rw-r--r--hl/c++/examples/ptExampleFL.cpp2
-rw-r--r--hl/test/test_table.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hl/c++/examples/ptExampleFL.cpp b/hl/c++/examples/ptExampleFL.cpp
index d0b62da..3b1c655 100644
--- a/hl/c++/examples/ptExampleFL.cpp
+++ b/hl/c++/examples/ptExampleFL.cpp
@@ -73,7 +73,7 @@ main(void)
if (err < 0)
fprintf(stderr, "Error getting packet count.");
- printf("Number of packets in packet table after five appends: %d\n", count);
+ printf("Number of packets in packet table after five appends: %llu\n", count);
/* Initialize packet table's "current record" */
ptable.ResetIndex();
diff --git a/hl/test/test_table.c b/hl/test/test_table.c
index 2f98f4a..d7f68e4 100644
--- a/hl/test/test_table.c
+++ b/hl/test/test_table.c
@@ -1272,7 +1272,7 @@ test_table(hid_t fid, int do_write)
/* write the new longitude and latitude information to all the records */
nfields = 2;
start = 0;
- nrecords = NRECORDS;
+ nrecords = NRECORDS_ADD;
if (H5TBwrite_fields_index(fid, "table12", nfields, field_index_pos, start, nrecords,
sizeof(position_t), field_offset_pos, field_sizes_pos, position_in) < 0)
goto out;