Fixed compiler warning by casting to 16-bit int

This commit is contained in:
Matt Hill
2016-02-14 13:43:56 -05:00
parent 403a01e012
commit 8eaec3d9d8

View File

@@ -364,7 +364,7 @@ vector<string> showCharSelection(Mat image, vector<Rect> charRegions, string sta
if (curCharIdx >= charRegions.size())
{
waitkey = ENTER_KEY_ONE;
waitkey = (int16_t) ENTER_KEY_ONE;
break;
}
}