diff options
author | 2014-12-12 08:51:38 -0800 | |
---|---|---|
committer | 2014-12-12 08:51:39 -0800 | |
commit | ef3fcd877aa78c1d0ac802043cd8785180304c12 (patch) | |
tree | 7129a84e40a97532af73b6fddc5cab5c663280ef /src/gpu/gl | |
parent | 81a6c3cc75aae33a7334e6071b066537930b8558 (diff) |
More win64 warning fixes
Review URL: https://codereview.chromium.org/798723002
Diffstat (limited to 'src/gpu/gl')
-rw-r--r-- | src/gpu/gl/GrGLPathRendering.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/gl/GrGLPathRendering.cpp b/src/gpu/gl/GrGLPathRendering.cpp index 5e0889562d..44b86818e9 100644 --- a/src/gpu/gl/GrGLPathRendering.cpp +++ b/src/gpu/gl/GrGLPathRendering.cpp @@ -136,7 +136,7 @@ GrPathRange* GrGLPathRendering::createGlyphs(const SkTypeface* typeface, const void* fontData = fontStream->getMemoryBase(); if (NULL == fontData) { // TODO: Find a more efficient way to pass the font data (e.g. open file descriptor). - fontTempBuffer.reset(SkToU32(fontDataLength)); + fontTempBuffer.reset(SkToInt(fontDataLength)); fontStream->read(&fontTempBuffer.front(), fontDataLength); fontData = &fontTempBuffer.front(); } |