X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=cpp%2Fcore%2Fsrc%2Fzxing%2Foned%2FOneDReader.h;fp=cpp%2Fcore%2Fsrc%2Fzxing%2Foned%2FOneDReader.h;h=bb3b6497995ba41e05357e4e3ef724a692fac6da;hb=4430403d20762773119a1db47c0a4c2776d778f1;hp=92a7e779b4dc92a866f4254d399af138c178348a;hpb=3ec199d52cca4d24137a2be1531a321e7cd36b61;p=zxing.git diff --git a/cpp/core/src/zxing/oned/OneDReader.h b/cpp/core/src/zxing/oned/OneDReader.h index 92a7e779..bb3b6497 100644 --- a/cpp/core/src/zxing/oned/OneDReader.h +++ b/cpp/core/src/zxing/oned/OneDReader.h @@ -38,7 +38,7 @@ namespace zxing { virtual Ref decode(Ref image); virtual Ref decodeRow(int rowNumber, Ref row) = 0; - static int patternMatchVariance(int counters[], int countersSize, const int pattern[], int maxIndividualVariance); + static unsigned int patternMatchVariance(int counters[], int countersSize, const int pattern[], int maxIndividualVariance); static void recordPattern(Ref row, int start, int counters[], int countersCount); virtual ~OneDReader(); };