diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-29 19:35:44 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-08-29 19:35:44 +0000 |
commit | d9e0181405c9853ffd20502555200205a5ab09b1 (patch) | |
tree | 7b026a6615e4b76d5eba16de2d1d6ffaa80f1449 /src/gpu/GrMemoryPool.cpp | |
parent | 57cdcc091bf8ff4c6da90c6dac8ca3780bfe3b3c (diff) |
Linux warning fixes
Review URL: https://codereview.appspot.com/6500045/
git-svn-id: http://skia.googlecode.com/svn/trunk@5337 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu/GrMemoryPool.cpp')
-rw-r--r-- | src/gpu/GrMemoryPool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrMemoryPool.cpp b/src/gpu/GrMemoryPool.cpp index 01f303fb69..17d70ab90d 100644 --- a/src/gpu/GrMemoryPool.cpp +++ b/src/gpu/GrMemoryPool.cpp @@ -110,7 +110,7 @@ GrMemoryPool::BlockHeader* GrMemoryPool::CreateBlock(size_t size) { block->fLiveCount = 0; block->fFreeSize = size; block->fCurrPtr = reinterpret_cast<intptr_t>(block) + kHeaderSize; - block->fPrevPtr = NULL; + block->fPrevPtr = 0; // gcc warns on assigning NULL to an intptr_t. return block; } |