Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(290)

Unified Diff: src/core/SkDistanceFieldGen.cpp

Issue 242643008: fix warnings around size_t/int (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkDescriptor.h ('k') | src/core/SkPackBits.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkDistanceFieldGen.cpp
diff --git a/src/core/SkDistanceFieldGen.cpp b/src/core/SkDistanceFieldGen.cpp
index aec5f1d13eeaf328c9ef5d7ea82dff3ba0f30bb3..ef0ee86d59ce7731f36f4be401d1777d659a8f07 100755
--- a/src/core/SkDistanceFieldGen.cpp
+++ b/src/core/SkDistanceFieldGen.cpp
@@ -329,9 +329,9 @@ static unsigned char pack_distance_field_val(float dist, float distanceMagnitude
// assumes a padded 8-bit image and distance field
// width and height are the original width and height of the image
-bool generate_distance_field_from_image(unsigned char* distanceField,
- const unsigned char* copyPtr,
- int width, int height) {
+static bool generate_distance_field_from_image(unsigned char* distanceField,
+ const unsigned char* copyPtr,
+ int width, int height) {
SkASSERT(NULL != distanceField);
SkASSERT(NULL != copyPtr);
« no previous file with comments | « src/core/SkDescriptor.h ('k') | src/core/SkPackBits.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698