summaryrefslogtreecommitdiff
path: root/2005/i/robert/src/video4linux/video4linux.cc
diff options
context:
space:
mode:
Diffstat (limited to '2005/i/robert/src/video4linux/video4linux.cc')
-rw-r--r--2005/i/robert/src/video4linux/video4linux.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/2005/i/robert/src/video4linux/video4linux.cc b/2005/i/robert/src/video4linux/video4linux.cc
index ddffde9..4f0d432 100644
--- a/2005/i/robert/src/video4linux/video4linux.cc
+++ b/2005/i/robert/src/video4linux/video4linux.cc
@@ -81,9 +81,9 @@ Video4Linux::read (uint8_t *buf, unsigned size)
memcpy (buf, map_, size);
break;
case Image::yuv:
- for (unsigned i = 0; i < height_/2; ++i)
+ for (int i = 0; i < height_/2; ++i)
{
- for (unsigned j = 0; j < width_/2; ++j)
+ for (int j = 0; j < width_/2; ++j)
{
*dst++ = *srcY++; *dst2++ = *srcY2++;
*dst++ = *srcU; *dst2++ = *srcU;