summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2007-04-03 19:51:14 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2007-04-03 19:51:14 (GMT)
commit0fb88ded47762bcafdd4317a3cd48f4c706a011c (patch)
treef46e14f62d1c6f3ebd1fb9aab18fab97509782bd /hl
parentd53775c9468afe01b058e59db8dfc7a4d79f0340 (diff)
downloadhdf5-0fb88ded47762bcafdd4317a3cd48f4c706a011c.zip
hdf5-0fb88ded47762bcafdd4317a3cd48f4c706a011c.tar.gz
hdf5-0fb88ded47762bcafdd4317a3cd48f4c706a011c.tar.bz2
[svn-r13580] Description:
Add version # and flags to external link format (as fields in a single byte), in order to accomodate future changes/expansions. Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2) FreeBSD/32 6.2 (duty) FreeBSD/64 6.2 (liberty)
Diffstat (limited to 'hl')
-rw-r--r--hl/examples/ex_table_04.c7
-rw-r--r--hl/examples/ptExampleFL.c2
2 files changed, 1 insertions, 8 deletions
diff --git a/hl/examples/ex_table_04.c b/hl/examples/ex_table_04.c
index 5912c43..f10f526 100644
--- a/hl/examples/ex_table_04.c
+++ b/hl/examples/ex_table_04.c
@@ -70,8 +70,6 @@ int main( void )
sizeof( dst_buf[0].temperature)};
size_t field_offset_pos[2] = { HOFFSET( Position, lati ),
HOFFSET( Position, longi )};
- size_t field_offset_namepre[2] = { HOFFSET( NamePressure, name ),
- HOFFSET( NamePressure, pressure )};
const char *field_names[NFIELDS] = /* Define field information */
{ "Name","Latitude", "Longitude", "Pressure", "Temperature" };
hid_t field_type[NFIELDS];
@@ -102,11 +100,6 @@ int main( void )
sizeof(position_in[0].longi),
sizeof(position_in[0].lati)
};
- size_t field_sizes_namepre[2]=
- {
- sizeof(namepre_in[0].name),
- sizeof(namepre_in[0].pressure)
- };
size_t field_sizes_pre[1]=
{
sizeof(namepre_in[0].pressure)
diff --git a/hl/examples/ptExampleFL.c b/hl/examples/ptExampleFL.c
index 956f1d6..bbd0bf6 100644
--- a/hl/examples/ptExampleFL.c
+++ b/hl/examples/ptExampleFL.c
@@ -72,7 +72,7 @@ int main(void)
if(err < 0)
goto out;
- printf("Number of packets in packet table after five appends: %d\n", count);
+ printf("Number of packets in packet table after five appends: %d\n", (int)count);
/* Initialize packet table's "current record" */
err = H5PTcreate_index(ptable);