From 24cf23f026e675c2a087d081d496794d42653466 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 16 Sep 2022 23:38:35 +0200 Subject: [PATCH] remove casting since it is casted implicitly --- Image/Thresholding.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Image/Thresholding.h b/Image/Thresholding.h index 0b9e6f5..99b02c5 100644 --- a/Image/Thresholding.h +++ b/Image/Thresholding.h @@ -27,7 +27,7 @@ namespace Image { cv::Size dim = in.size(); cv::Mat out(dim, in.type()); - float *intImg = (float *) malloc(dim.width * dim.height * sizeof(float)); + float *intImg = malloc(dim.width * dim.height * sizeof(float)); float sum; cv::Vec3b bgr;