sax: ConverterTest: add leap year tests
[LibreOffice.git] / icu / icu4c-warnings.patch
blobe484b59a6c69947129a1a8eeb1d1e6064d30efbe
1 --- misc/icu/source/common/unicode/stringpiece.h
2 +++ misc/build/icu/source/common/unicode/stringpiece.h
3 @@ -140,7 +140,7 @@
4 * @param len the length of the new data
5 * @internal
6 */
7 - void set(const char* data, int32_t len) { ptr_ = data; length_ = len; }
8 + void set(const char* data_, int32_t len) { ptr_ = data_; length_ = len; }
10 /**
11 * Reset the stringpiece to refer to new data.
12 --- misc/icu/source/common/unicode/
13 +++ misc/build/icu/source/common/unicode/utf16.h
14 @@ -316,6 +316,7 @@
15 (s)[(i)++]=(uint16_t)(((c)&0x3ff)|0xdc00); \
16 } else /* c>0x10ffff or not enough space */ { \
17 (isError)=TRUE; \
18 + (void)(isError); \
19 } \