| commit | d9e0181405c9853ffd20502555200205a5ab09b1 | [log] [tgz] |
|---|---|---|
| author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 29 19:35:44 2012 +0000 |
| committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Wed Aug 29 19:35:44 2012 +0000 |
| tree | 7b026a6615e4b76d5eba16de2d1d6ffaa80f1449 | |
| parent | 57cdcc091bf8ff4c6da90c6dac8ca3780bfe3b3c [diff] [blame] |
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
diff --git a/src/gpu/GrMemoryPool.cpp b/src/gpu/GrMemoryPool.cpp index 01f303f..17d70ab 100644 --- a/src/gpu/GrMemoryPool.cpp +++ b/src/gpu/GrMemoryPool.cpp
@@ -110,7 +110,7 @@ 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; }