Fixes for Windows Release compiler complaints (overflow in const arith)

http://codereview.appspot.com/6210056/



git-svn-id: http://skia.googlecode.com/svn/trunk@3926 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/samplecode/SampleFuzz.cpp b/samplecode/SampleFuzz.cpp
index 36149c3..6966d0d 100644
--- a/samplecode/SampleFuzz.cpp
+++ b/samplecode/SampleFuzz.cpp
@@ -38,12 +38,23 @@
   return (int)floor(SkScalarToFloat(gRand.nextUScalar1()) * x);
 }
 
+#if defined _WIN32
+#pragma warning ( push )
+// we are intentionally causing an overflow here
+//      (warning C4756: overflow in constant arithmetic)
+#pragma warning ( disable : 4756 )
+#endif
+
 static float huge() {
     double d = 1e100;
     float f = (float)d;
     return f;
 }
 
+#if defined _WIN32
+#pragma warning ( pop )
+#endif
+
 static float make_number() {
   float v = 0;
   int sel;