[3.0] Change 'char' type to 'signed char' 76/72276/1
authorsuhyung Eom <suhyung.eom@samsung.com>
Tue, 31 May 2016 09:09:10 +0000 (18:09 +0900)
committersuhyung Eom <suhyung.eom@samsung.com>
Tue, 31 May 2016 09:10:39 +0000 (18:10 +0900)
This reverts commit ad070ad5c06fed7558654c544420566e66902b88.
Change-Id: I856f2d3c4c58aa4ffd5db72cc882406e5c4f6e97

dali-toolkit/internal/controls/renderers/svg/nanosvg/nanosvgrast.cc

index a3f3bdb..a6c843e 100644 (file)
@@ -878,12 +878,11 @@ static void nsvg__fillScanline(unsigned char* scanline, int len, int x0, int x1,
 // note: this routine clips fills that extend off the edges... ideally this
 // wouldn't happen, but it could happen if the truetype glyph bounding boxes
 // are wrong, or if the user supplies a too-small bitmap
-
- /**
-  * In the original file, using char type (without signed or unsigned) can be interpreted
-  * as 'unsigned char' in some build environments, like ARM architecture.
-  * To prevent the unexpected behavior, we replace 'char fillRule' with 'signed char fillRule' here.
-  */
+/**
+ * In the original file, using char type (without signed or unsigned) can be interpreted
+ * as 'unsigned char' in some build environments, like ARM architecture.
+ * To prevent the unexpected behavior, we replace 'char fillRule' with 'signed char fillRule' here.
+ */
 static void nsvg__fillActiveEdges(unsigned char* scanline, int len, NSVGactiveEdge* e, int maxWeight, int* xmin, int* xmax, signed char fillRule)
 {
     // non-zero winding fill