diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2021-11-13 23:08:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-13 23:08:48 (GMT) |
commit | 899636e4042ec7603516523a13995967a53d9543 (patch) | |
tree | 4fa29024c0bb4b78b76f86c45c58d0a4eeda7244 /src/H5FDcore.c | |
parent | 70910573e0cdc7f6647f54046f23a0885176a4a7 (diff) | |
download | hdf5-899636e4042ec7603516523a13995967a53d9543.zip hdf5-899636e4042ec7603516523a13995967a53d9543.tar.gz hdf5-899636e4042ec7603516523a13995967a53d9543.tar.bz2 |
1.12 TRILAB-266: Remove clang warnings. (#1193)
* TRILAB-266: Remove clang warnings in src/H5Zscaleoffset.c. (PR #1105)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in H5private.h and uthash.h. (PR #1124)
* TRILAB-266: Remove clang warnings in H5FDcore.c. (PR #1127)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in test/testmeta.c. (PR #1135)
* TRILAB-266: Remove clang warnings in test/swmr.c. (PR #1136)
* TRILAB-266: Remove clang warnings in test/cork.c. (PR #1137)
* Committing clang-format changes
* TRILAB-266: Remove clang warnings in test/cork.c. (PR #1146)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
Diffstat (limited to 'src/H5FDcore.c')
-rw-r--r-- | src/H5FDcore.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5FDcore.c b/src/H5FDcore.c index 3bb95f7..0b96891 100644 --- a/src/H5FDcore.c +++ b/src/H5FDcore.c @@ -388,7 +388,7 @@ H5FD__core_write_to_bstore(H5FD_core_t *file, haddr_t addr, size_t size) "write to backing store failed: time = %s, filename = '%s', file descriptor = %d, " "errno = %d, error message = '%s', ptr = %p, total write size = %llu, bytes this " "sub-write = %llu, bytes actually written = %llu, offset = %llu", - HDctime(&mytime), file->name, file->fd, myerrno, HDstrerror(myerrno), ptr, + HDctime(&mytime), file->name, file->fd, myerrno, HDstrerror(myerrno), (void *)ptr, (unsigned long long)size, (unsigned long long)bytes_in, (unsigned long long)bytes_wrote, (unsigned long long)offset); } /* end if */ @@ -916,8 +916,8 @@ H5FD__core_open(const char *name, unsigned flags, hid_t fapl_id, haddr_t maxaddr "file read failed: time = %s, filename = '%s', file descriptor = %d, errno = %d, " "error message = '%s', file->mem = %p, total read size = %llu, bytes this " "sub-read = %llu, bytes actually read = %llu, offset = %llu", - HDctime(&mytime), file->name, file->fd, myerrno, HDstrerror(myerrno), file->mem, - (unsigned long long)size, (unsigned long long)bytes_in, + HDctime(&mytime), file->name, file->fd, myerrno, HDstrerror(myerrno), + (void *)file->mem, (unsigned long long)size, (unsigned long long)bytes_in, (unsigned long long)bytes_read, (unsigned long long)offset); } /* end if */ |