DescriptionFix the warnings when compiling harfbuzz with clang in Android, the warnings were:
third_party/harfbuzz/contrib/harfbuzz-freetype.c:26:57: error: incompatible
pointer types passing 'size_t *' (aka 'unsigned int *') to parameter of
type 'ssize_t *' (aka 'long *') [-Werror,-Wincompatible-pointer-types]
const uint32_t cp = utf16_to_code_point(chars, len, &i);
^~
third_party/harfbuzz/contrib/harfbuzz-unicode.h:22:74: note: passing argument to
parameter 'iter' here
uint32_t utf16_to_code_point(const uint16_t *chars, size_t len, ssize_t *iter);
^
third_party/harfbuzz/contrib/harfbuzz-freetype.c:58:57: error: incompatible
pointer types passing 'size_t *' (aka 'unsigned int *') to parameter of
type 'ssize_t *' (aka 'long *') [-Werror,-Wincompatible-pointer-types]
const uint32_t cp = utf16_to_code_point(chars, len, &i);
^~
third_party/harfbuzz/contrib/harfbuzz-unicode.h:22:74: note: passing argument to
parameter 'iter' here
uint32_t utf16_to_code_point(const uint16_t *chars, size_t len, ssize_t *iter);
BUG=143931
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=156760
Patch Set 1 #
Total comments: 2
Patch Set 2 : sync #
Messages
Total messages: 7 (0 generated)
|