From 27a2ae714548e9056ab122a1f7db0c97cf5197a6 Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Thu, 12 Mar 2015 22:56:45 -0400 Subject: [PATCH] Fixed DetectorCUDA compile issue on Windows --- src/openalpr/detection/detectorcuda.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/openalpr/detection/detectorcuda.cpp b/src/openalpr/detection/detectorcuda.cpp index 8c3e617..5a0dde6 100644 --- a/src/openalpr/detection/detectorcuda.cpp +++ b/src/openalpr/detection/detectorcuda.cpp @@ -124,7 +124,7 @@ namespace alpr cout << "LBP Time: " << diffclock(startTime, endTime) << "ms." << endl; } - for( uint i = 0; i < plates.size(); i++ ) + for( unsigned int i = 0; i < plates.size(); i++ ) { plates[i].x = (plates[i].x / scale_factor) + offset_x; plates[i].y = (plates[i].y / scale_factor) + offset_y;