Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1diff --git a/src/FTContour.cpp b/src/FTContour.cpp 2index c668d32..ef13576 100644 3--- a/src/FTContour.cpp 4+++ b/src/FTContour.cpp 5@@ -174,7 +174,7 @@ void FTContour::SetParity(int parity) 6 } 7 8 9-FTContour::FTContour(FT_Vector* contour, char* tags, unsigned int n) 10+FTContour::FTContour(FT_Vector* contour, unsigned char* tags, unsigned int n) 11 { 12 FTPoint prev, cur(contour[(n - 1) % n]), next(contour[0]); 13 double olddir, dir = atan2((next - cur).Y(), (next - cur).X()); 14diff --git a/src/FTContour.h b/src/FTContour.h 15index d2d187c..dc64e3a 100644 16--- a/src/FTContour.h 17+++ b/src/FTContour.h 18@@ -52,7 +52,7 @@ class FTContour 19 * @param pointTags 20 * @param numberOfPoints 21 */ 22- FTContour(FT_Vector* contour, char* pointTags, unsigned int numberOfPoints); 23+ FTContour(FT_Vector* contour, unsigned char* pointTags, unsigned int numberOfPoints); 24 25 /** 26 * Destructor 27diff --git a/src/FTVectoriser.cpp b/src/FTVectoriser.cpp 28index 26e7da8..53d738e 100644 29--- a/src/FTVectoriser.cpp 30+++ b/src/FTVectoriser.cpp 31@@ -168,7 +168,7 @@ void FTVectoriser::ProcessContours() 32 for(int i = 0; i < ftContourCount; ++i) 33 { 34 FT_Vector* pointList = &outline.points[startIndex]; 35- char* tagList = &outline.tags[startIndex]; 36+ unsigned char* tagList = &outline.tags[startIndex]; 37 38 endIndex = outline.contours[i]; 39 contourLength = (endIndex - startIndex) + 1;