| commit | c369daf3ea163d0e1a72e43315d0023b93e40c4e | [log] [tgz] |
|---|---|---|
| author | Yaowu Xu <yaowu@google.com> | Tue Jul 07 14:22:07 2015 -0700 |
| committer | Yaowu Xu <yaowu@google.com> | Wed Jul 08 15:09:20 2015 -0700 |
| tree | 685d591f69dba5cfd2a4dbffb8e98eab38caeaf8 | |
| parent | 340d82efb9694e379a429a5713b380ca8739182c [diff] [blame] |
Clean out more MSVC warnings Change-Id: I1bab0c104df2ec4825d050cd516e26ab635a7b3e
diff --git a/tools_common.c b/tools_common.c index 901734e..8d356af 100644 --- a/tools_common.c +++ b/tools_common.c
@@ -392,7 +392,7 @@ (uint16_t *)(src->planes[plane] + y * src->stride[plane]); uint8_t *p_dst = dst->planes[plane] + y * dst->stride[plane]; for (x = 0; x < w; x++) { - *p_dst++ = *p_src++; + *p_dst++ = (uint8_t)(*p_src++); } } }