summaryrefslogtreecommitdiffstats
path: root/java/src/jni/h5pOCPLImp.c
diff options
context:
space:
mode:
authorDana Robinson <43805+derobins@users.noreply.github.com>2023-07-27 18:21:00 (GMT)
committerGitHub <noreply@github.com>2023-07-27 18:21:00 (GMT)
commit00f5d01c8345d9718ca43aa8ca98bf6cfc05b70d (patch)
tree725a5146d5a21ff3d10adbbf6038d154d78c6328 /java/src/jni/h5pOCPLImp.c
parentaa9c06135979ee1415b41ea1bccc15524fbfca82 (diff)
downloadhdf5-00f5d01c8345d9718ca43aa8ca98bf6cfc05b70d.zip
hdf5-00f5d01c8345d9718ca43aa8ca98bf6cfc05b70d.tar.gz
hdf5-00f5d01c8345d9718ca43aa8ca98bf6cfc05b70d.tar.bz2
Normalize java w/ develop (#3283)
Diffstat (limited to 'java/src/jni/h5pOCPLImp.c')
-rw-r--r--java/src/jni/h5pOCPLImp.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/java/src/jni/h5pOCPLImp.c b/java/src/jni/h5pOCPLImp.c
index e287962..432fbbb 100644
--- a/java/src/jni/h5pOCPLImp.c
+++ b/java/src/jni/h5pOCPLImp.c
@@ -77,11 +77,11 @@ done:
JNIEXPORT void JNICALL
Java_hdf_hdf5lib_H5_H5Pset_1obj_1track_1times(JNIEnv *env, jclass clss, jlong objplid, jboolean track_times)
{
- hbool_t track = FALSE;
+ bool track = false;
UNUSED(clss);
- track = (JNI_TRUE == track_times) ? 1 : 0;
+ track = (JNI_TRUE == track_times) ? true : false;
if (H5Pset_obj_track_times((hid_t)objplid, track) < 0)
H5_LIBRARY_ERROR(ENVONLY);
@@ -98,7 +98,7 @@ done:
JNIEXPORT jboolean JNICALL
Java_hdf_hdf5lib_H5_H5Pget_1obj_1track_1times(JNIEnv *env, jclass clss, jlong objplid)
{
- hbool_t track_times = FALSE;
+ bool track_times = false;
jboolean retVal = JNI_FALSE;
UNUSED(clss);
@@ -106,7 +106,7 @@ Java_hdf_hdf5lib_H5_H5Pget_1obj_1track_1times(JNIEnv *env, jclass clss, jlong ob
if (H5Pget_obj_track_times((hid_t)objplid, &track_times) < 0)
H5_LIBRARY_ERROR(ENVONLY);
- retVal = (track_times == TRUE) ? JNI_TRUE : JNI_FALSE;
+ retVal = (track_times == true) ? JNI_TRUE : JNI_FALSE;
done:
return retVal;