fix warnings

git-svn-id: http://skia.googlecode.com/svn/trunk@1129 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleDither.cpp b/samplecode/SampleDither.cpp
index 64af007..1199fa4 100644
--- a/samplecode/SampleDither.cpp
+++ b/samplecode/SampleDither.cpp
@@ -77,15 +77,14 @@
     draw_sweep(&c, bm->width(), bm->height(), 0);
 }
 
-static void pre_dither(const SkBitmap& bm)
-{
+static void pre_dither(const SkBitmap& bm) {
     SkAutoLockPixels alp(bm);
     
-    for (unsigned y = 0; y < bm.height(); y++) {
+    for (int y = 0; y < bm.height(); y++) {
         DITHER_4444_SCAN(y);
         
         SkPMColor* p = bm.getAddr32(0, y);
-        for (unsigned x = 0; x < bm.width(); x++) {
+        for (int x = 0; x < bm.width(); x++) {
             SkPMColor c = *p;
             
             unsigned a = SkGetPackedA32(c);