ports/sysutils/lnav/files/patch-src_extension-functions.cc
Wen Heping 30f776261b - Update to lnav 0.8.2
- Add optional dependency on libcurl
- Fix crash on i386
- Add USES=compiler:c++14-lang
- Remove USES=python

PR:		219477
Submitted by:	tom@hur.st(maintainer)
2017-06-14 07:48:44 +00:00

11 lines
408 B
C++

--- src/extension-functions.cc.orig 2017-04-19 14:17:53 UTC
+++ src/extension-functions.cc
@@ -269,7 +269,7 @@ static const int xtra_utf8_bits[] = {
** masking the character with utf8_mask[N] must produce a non-zero
** result. Otherwise, we have an (illegal) overlong encoding.
*/
-static const long utf_mask[] = {
+static const unsigned long utf_mask[] = {
0x00000000,
0xffffff80,
0xfffff800,