diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-01 20:02:47 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2004-07-01 20:02:47 (GMT) |
commit | e5e786f589896da6f6414da51b56ccc119df8adb (patch) | |
tree | 69c21934ad23b0b71326a8fb8b40c384aca92f24 /test/dtypes.c | |
parent | eab58732d86e9219fa9f41f9ab2e30fae94e4a7d (diff) | |
download | hdf5-e5e786f589896da6f6414da51b56ccc119df8adb.zip hdf5-e5e786f589896da6f6414da51b56ccc119df8adb.tar.gz hdf5-e5e786f589896da6f6414da51b56ccc119df8adb.tar.bz2 |
[svn-r8782] Purpose:
Code cleanup
Description:
Clean up almost all warnings from Windows builds.
Platforms tested:
FreeBSD 4.10 (sleipnir) w/parallel
Too minor to require h5committest
Diffstat (limited to 'test/dtypes.c')
-rw-r--r-- | test/dtypes.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/dtypes.c b/test/dtypes.c index 5d2297d..fc85ad3 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -1488,9 +1488,9 @@ static int test_compound_9(void) { typedef struct cmpd_struct { - int i1; - const char* str; - int i2; + int i1; + char* str; + int i2; } cmpd_struct; cmpd_struct wdata = {11, "variable-length string", 22}; @@ -1593,7 +1593,7 @@ test_compound_9(void) goto error; } /* end if */ - if(rdata.i1!=wdata.i1 || rdata.i2!=wdata.i2 || strcmp(rdata.str, wdata.str)) { + if(rdata.i1!=wdata.i1 || rdata.i2!=wdata.i2 || HDstrcmp(rdata.str, wdata.str)) { H5_FAILED(); AT(); printf("incorrect read data\n"); goto error; |