From 17618dcb9342f7cfe8bc0f7064e5c4106e2877e3 Mon Sep 17 00:00:00 2001 From: Gene Van Buren Date: Tue, 16 Aug 2022 11:33:50 -0400 Subject: [PATCH] isfloat should be a bool --- core/accelogic/src/ZipAccelogic.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/accelogic/src/ZipAccelogic.cxx b/core/accelogic/src/ZipAccelogic.cxx index fc12a8f884b84..0fc283e151143 100644 --- a/core/accelogic/src/ZipAccelogic.cxx +++ b/core/accelogic/src/ZipAccelogic.cxx @@ -74,7 +74,7 @@ void R__zipBLAST(unsigned char *cxlevels, int *srcsize, char *src, int *tgtsize, int rawtype = datatype % EDataType::kOffsetL; - int isfloat = (rawtype == EDataType::kFloat_t); + bool isfloat = (rawtype == EDataType::kFloat_t); bool isdouble = (rawtype == EDataType::kDouble_t); size_t out_sizes[MAX_ZIG_BUFFERS]; @@ -232,7 +232,7 @@ void R__unzipBLAST(int *srcsize, unsigned char **srcs, int *tgtsize, unsigned ch int rawtype = datatype % EDataType::kOffsetL; - int isfloat = (rawtype == EDataType::kFloat_t); + bool isfloat = (rawtype == EDataType::kFloat_t); bool isdouble = (rawtype == EDataType::kDouble_t); if (isfloat || isdouble) {