From fe50d79496507171af230e6315d5df3451c7c2df Mon Sep 17 00:00:00 2001 From: Pascal Serrarens Date: Tue, 14 May 2024 12:16:39 +0200 Subject: [PATCH] fix double/float conversion --- TrackedObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrackedObject.cpp b/TrackedObject.cpp index 5b46635..b27e378 100644 --- a/TrackedObject.cpp +++ b/TrackedObject.cpp @@ -30,7 +30,7 @@ bool InterestingThing::IsTheSameAs(InterestingThing *otherObj) { float equalDistance = equalityDistance; float equalAngle = equalityAngle; if (otherObj->type == 0x80 || otherObj->id == 0x80) { - equalDistance = 0.1; + equalDistance = 0.1f; equalAngle = 10; } // printf(" %d %f (%f %f) is same as %f (%f %f)\n", otherObj->type,