fix warnings (signed/unsigned, initialization order, parens)
git-svn-id: http://skia.googlecode.com/svn/trunk@1724 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/pipe/SkGPipeRead.cpp b/src/pipe/SkGPipeRead.cpp
index 07d4ee2..5fdbfc3 100644
--- a/src/pipe/SkGPipeRead.cpp
+++ b/src/pipe/SkGPipeRead.cpp
@@ -85,7 +85,7 @@
return fFlatArray[index - 1];
}
- void defFlattenable(PaintFlats pf, unsigned index) {
+ void defFlattenable(PaintFlats pf, int index) {
SkASSERT(index == fFlatArray.count() + 1);
SkFlattenable* obj = fReader->readFlattenable();
*fFlatArray.append() = obj;