diff options
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-12 16:05:14 +0000 |
---|---|---|
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-03-12 16:05:14 +0000 |
commit | 5ba0d9064dc00fcd7f094593bb7b9f081c9f1e3b (patch) | |
tree | 60f1e8dea40a7d06a0ba05c0e92815d985c3dec1 /src | |
parent | 948787737b77555318fa2433e7ff941516fe950e (diff) |
Fixed compiler error/warning
git-svn-id: http://skia.googlecode.com/svn/trunk@8110 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src')
-rw-r--r-- | src/core/SkPictureRecord.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/SkPictureRecord.cpp b/src/core/SkPictureRecord.cpp index 205e20d2c8..6ecc0aad8e 100644 --- a/src/core/SkPictureRecord.cpp +++ b/src/core/SkPictureRecord.cpp @@ -349,8 +349,8 @@ static bool merge_savelayer_paint_into_drawbitmp(SkWriter32* writer, uint32_t slPaintOffset = getPaintOffset(SAVE_LAYER, saveLayerInfo.fSize); // we have a match, now we need to get the paints involved - int dbmPaintId = *((int32_t*)writer->peek32(dbmInfo.fOffset+dbmPaintOffset)); - int saveLayerPaintId = *((int32_t*)writer->peek32(saveLayerInfo.fOffset+slPaintOffset)); + uint32_t dbmPaintId = *writer->peek32(dbmInfo.fOffset+dbmPaintOffset); + uint32_t saveLayerPaintId = *writer->peek32(saveLayerInfo.fOffset+slPaintOffset); if (0 == saveLayerPaintId) { // In this case the saveLayer/restore isn't needed at all - just kill the saveLayer |