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

Unified Diff: src/gpu/gl/GrGLProgramDesc.cpp

Issue 47513017: More Windows 64b compilation warning fixes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Remove common_variables.gypi from CL (ooops) Created 7 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
Index: src/gpu/gl/GrGLProgramDesc.cpp
===================================================================
--- src/gpu/gl/GrGLProgramDesc.cpp (revision 11997)
+++ src/gpu/gl/GrGLProgramDesc.cpp (working copy)
@@ -105,7 +105,7 @@
memset(desc->header(), 0, kHeaderSize);
}
// write the key length
- *desc->atOffset<uint32_t, kLengthOffset>() = newKeyLength;
+ *desc->atOffset<uint32_t, kLengthOffset>() = static_cast<uint32_t>(newKeyLength);
bsalomon 2013/10/29 14:40:36 SkToU32 adds an assert in debug
robertphillips 2013/11/18 20:22:41 Done.
KeyHeader* header = desc->header();
EffectKey* effectKeys = desc->effectKeys();

Powered by Google App Engine
This is Rietveld 408576698