diff options
author | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 01:03:03 (GMT) |
---|---|---|
committer | Allen Byrne <byrn@hdfgroup.org> | 2020-09-30 01:03:03 (GMT) |
commit | 29ab58b58dce556639ea3154e262895773a8a8df (patch) | |
tree | 68133f7b0915277221a0cfdb2595b011d80e9cfb /java/src/jni/h5util.c | |
parent | 14851e3b82a9b116153f9505654faf2f60e1abe2 (diff) | |
parent | 3f15fb35222a0fb2ba2f1f88a2d78daaea633ec8 (diff) | |
download | hdf5-29ab58b58dce556639ea3154e262895773a8a8df.zip hdf5-29ab58b58dce556639ea3154e262895773a8a8df.tar.gz hdf5-29ab58b58dce556639ea3154e262895773a8a8df.tar.bz2 |
Merge pull request #2905 in HDFFV/hdf5 from ~BYRN/hdf5_adb:develop to develop
* commit '3f15fb35222a0fb2ba2f1f88a2d78daaea633ec8':
Fix jni with %Lg instead of %Lf
Pre-format fixes for warnings as errors
Diffstat (limited to 'java/src/jni/h5util.c')
-rw-r--r-- | java/src/jni/h5util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/jni/h5util.c b/java/src/jni/h5util.c index f45902f..8c3686d 100644 --- a/java/src/jni/h5util.c +++ b/java/src/jni/h5util.c @@ -784,7 +784,7 @@ h5str_sprintf if (NULL == (this_str = (char *) HDmalloc(27))) H5_OUT_OF_MEMORY_ERROR(ENVONLY, "h5str_sprintf: failed to allocate string buffer"); - if (HDsprintf(this_str, "%Lf", tmp_ldouble) < 0) + if (HDsprintf(this_str, "%Lg", tmp_ldouble) < 0) H5_JNI_FATAL_ERROR(ENVONLY, "h5str_sprintf: HDsprintf failure"); break; |