Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Unified Diff: media/base/simd/filter_yuv_sse2.cc

Issue 656663002: Fix type truncation warnings in YUV-related code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove erroneous pragma Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/simd/filter_yuv_c.cc ('k') | media/base/yuv_convert.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/base/simd/filter_yuv_sse2.cc
diff --git a/media/base/simd/filter_yuv_sse2.cc b/media/base/simd/filter_yuv_sse2.cc
index 84dba5ac8a890925142cf9ae144757d78a7fb5f3..b30f8d7f51e2261eb056e02ea07029e67e13d4d4 100644
--- a/media/base/simd/filter_yuv_sse2.cc
+++ b/media/base/simd/filter_yuv_sse2.cc
@@ -17,7 +17,7 @@ void FilterYUVRows_SSE2(uint8* dest,
const uint8* src0,
const uint8* src1,
int width,
- int fraction) {
+ uint8 fraction) {
int pixel = 0;
// Process the unaligned bytes first.
« no previous file with comments | « media/base/simd/filter_yuv_c.cc ('k') | media/base/yuv_convert.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698