diff options
author | schnetter <schnetter@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2005-01-29 18:11:53 +0000 |
---|---|---|
committer | schnetter <schnetter@ebee0441-1374-4afa-a3b5-247f3ba15b9a> | 2005-01-29 18:11:53 +0000 |
commit | f98fa73353a56af879ad76e787096ba87ea3be3b (patch) | |
tree | dcc856eed2595f1f69753758162df50f22f2b738 /src/RecoverGH.c | |
parent | 7dcb763e7c6cfe4df1549dca78d9ccfaee851ccd (diff) |
Use CCTK_BYTE instead of CCTK_CHAR.
Store CCTK_BYTE as UINT8 instead of CHAR.
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOFlexIO/trunk@334 ebee0441-1374-4afa-a3b5-247f3ba15b9a
Diffstat (limited to 'src/RecoverGH.c')
-rw-r--r-- | src/RecoverGH.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RecoverGH.c b/src/RecoverGH.c index be1a3a4..aa1f4dd 100644 --- a/src/RecoverGH.c +++ b/src/RecoverGH.c @@ -367,7 +367,7 @@ static int OpenFile (cGH *GH, const char *basefilename, int called_from, /* determine whether data was written using the old timelevel naming scheme. New files contain a Cactus version string attribute... */ i = IOreadAttributeInfo (file->fid, "Cactus version", &type, &dim); - file->has_version = i >= 0 && type == FLEXIO_CHAR; + file->has_version = i >= 0 && type == CHAR; if (! file->has_version) { CCTK_WARN (4, "Unable to restore 'Cactus version' attribute. " @@ -582,7 +582,7 @@ static int RecoverParameters (fileinfo_t *file) /* get the parameters attribute. */ i = IOreadAttributeInfo (file->fid, GLOBAL_PARAMETERS, &atype, &asize); - if (i >= 0 && atype == FLEXIO_CHAR && asize > 0) + if (i >= 0 && atype == CHAR && asize > 0) { parameterSize = (CCTK_INT4) asize; parameters = malloc (parameterSize + 1); |