Remove compiler warnings (gcc on Linux).

codereview.appspot.com/4922052/



git-svn-id: http://skia.googlecode.com/svn/trunk@2170 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
tomhudson@google.com 2011-08-25 15:37:03 +00:00
parent 2e68478d86
commit 32992605aa
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ public:
int offset = 0;
int frameBound = 0;
size_t bytesRead;
while (offset < size) {
while (static_cast<unsigned>(offset) < size) {
SkGPipeReader::Status s = dumpReader->playback(data + offset,
size - offset,
&bytesRead,

View File

@ -15,8 +15,8 @@
GrPathRendererChain::GrPathRendererChain(GrContext* context, UsageFlags flags)
: fInit(false)
, fFlags(flags)
, fOwner(context)
, fFlags(flags)
, fChain(fStorage.get(), kPreAllocCount) {
fInit = false;
}

View File

@ -61,7 +61,7 @@ private:
class SampleView : public SkView {
public:
SampleView() : fRepeatCount(1), fBGColor(SK_ColorWHITE) {
SampleView() : fBGColor(SK_ColorWHITE), fRepeatCount(1) {
fUsePipe = false;
}