From a368db81c6f740c1308dddae89a741c72ce29f0e Mon Sep 17 00:00:00 2001 From: James Zern Date: Fri, 14 Jun 2013 19:24:54 -0700 Subject: [PATCH] dec/vp8l: quiet vs9 x64 type conversion warning src\dec\vp8l.c(816) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data src\dec\vp8l.c(817) : warning C4244: '=' : conversion from '__int64' to 'int', possible loss of data Change-Id: I1d376d5dea909395bff8741aba16e8eed83a6e8f --- src/dec/vp8l.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dec/vp8l.c b/src/dec/vp8l.c index ba6bb5c5..08206499 100644 --- a/src/dec/vp8l.c +++ b/src/dec/vp8l.c @@ -794,7 +794,7 @@ End: \ dec->status_ = \ (!br->eos_) ? VP8_STATUS_BITSTREAM_ERROR : VP8_STATUS_SUSPENDED; \ } else { \ - dec->last_pixel_ = src - data; \ + dec->last_pixel_ = (int)(src - data); \ if (src == src_end) dec->state_ = READ_DATA; \ } \ return ok; \