Descriptionfix clang compilation warning -Wsign-compare
../src/gpu/gl/../GrDrawState.h:88:75: warning: comparison of integers of different signs: 'unsigned long' and 'long' [-Wsign-compare]
sizeof(fSrcBlend) + sizeof(fDstBlend) + sizeof(GrMatrix) ==
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
../include/gpu/GrConfig.h:270:39: note: expanded from macro 'GrAssert'
^
../include/gpu/GrConfig.h:261:54: note: expanded from macro 'GR_DEBUGASSERT'
#define GR_DEBUGASSERT(COND) GR_ALWAYSASSERT(COND)
^
../include/gpu/GrConfig.h:249:19: note: expanded from macro 'GR_ALWAYSASSERT'
if (!(COND)) { \
^~~~
../tests/UnicodeTest.cpp:72:36: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int
[-Wsign-compare]
REPORTER_ASSERT(reporter, len8 == count8);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
../tests/Test.h:116:15: note: expanded from macro 'REPORTER_ASSERT'
if (!(cond)) { \
^
../tests/UnicodeTest.cpp:73:36: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int
[-Wsign-compare]
REPORTER_ASSERT(reporter, len8 == count16);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../tests/Test.h:116:15: note: expanded from macro 'REPORTER_ASSERT'
if (!(cond)) { \
^
../tests/UnicodeTest.cpp:74:36: warning: comparison of integers of different signs: 'size_t' (aka 'unsigned long') and 'int
[-Wsign-compare]
REPORTER_ASSERT(reporter, len8 == count32);
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
../tests/Test.h:116:15: note: expanded from macro 'REPORTER_ASSERT'
if (!(cond)) { \
^
BUG=
TEST=
Patch Set 1 #Patch Set 2 : two fixes #
MessagesTotal messages: 6
|