summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lu <songyulu@hdfgroup.org>2006-05-31 20:59:48 (GMT)
committerRaymond Lu <songyulu@hdfgroup.org>2006-05-31 20:59:48 (GMT)
commita4c993cf24880c1600ba21dd1d7fb1bbbf1541f7 (patch)
treed12fb69ed72bb0a524f6983a4898a7ac7e541cda
parent3fcb63545d190cc1707f7f437e7b6f49b4bf5213 (diff)
downloadhdf5-a4c993cf24880c1600ba21dd1d7fb1bbbf1541f7.zip
hdf5-a4c993cf24880c1600ba21dd1d7fb1bbbf1541f7.tar.gz
hdf5-a4c993cf24880c1600ba21dd1d7fb1bbbf1541f7.tar.bz2
[svn-r12387] Purpose: Bug fix.
Description: Windows doesn't recognize "long long" but "long_long". Solution: The library defined a more general type "long_long". Use it instead. Platforms tested: fuss - simple change.
-rw-r--r--hl/src/H5LTparse.c2
-rw-r--r--hl/src/H5LTparse.y2
2 files changed, 2 insertions, 2 deletions
diff --git a/hl/src/H5LTparse.c b/hl/src/H5LTparse.c
index c743006..4867d5a 100644
--- a/hl/src/H5LTparse.c
+++ b/hl/src/H5LTparse.c
@@ -1026,7 +1026,7 @@ case 92:
short short_val=(short)yylval.ival;
int int_val=(int)yylval.ival;
long long_val=(long)yylval.ival;
- long long llong_val=(long long)yylval.ival;
+ long_long llong_val=(long_long)yylval.ival;
hid_t super = H5Tget_super(enum_id);
hid_t native = H5Tget_native_type(super, H5T_DIR_ASCEND);
diff --git a/hl/src/H5LTparse.y b/hl/src/H5LTparse.y
index c67f0e5..49211fb 100644
--- a/hl/src/H5LTparse.y
+++ b/hl/src/H5LTparse.y
@@ -336,7 +336,7 @@ enum_def : '"' enum_symbol '"' {
short short_val=(short)yylval.ival;
int int_val=(int)yylval.ival;
long long_val=(long)yylval.ival;
- long long llong_val=(long long)yylval.ival;
+ long_long llong_val=(long_long)yylval.ival;
hid_t super = H5Tget_super(enum_id);
hid_t native = H5Tget_native_type(super, H5T_DIR_ASCEND);