fixed warnings and errors reported by VS2010

This commit is contained in:
Vadim Pisarevsky
2010-11-26 18:25:30 +00:00
parent 1618ed0a37
commit 01c1003d51
15 changed files with 24 additions and 17 deletions

View File

@@ -35,7 +35,7 @@ int process(VideoCapture& capture) {
if (frame.empty())
continue;
imshow(window_name, frame);
char key = waitKey(5); //delay N millis, usually long enough to display and capture input
char key = (char)waitKey(5); //delay N millis, usually long enough to display and capture input
switch (key) {
case 'q':
case 'Q':