[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-libunistring] please, update int to size_t

From: Ощепков Константин
Subject: [bug-libunistring] please, update int to size_t
Date: Thu, 05 May 2016 20:25:56 +0300

Some functions in libunistring return "int" as string length. See 

 int u8_width(const uint8_t *s, size_t n, const char *encoding);

It takes string and "size_t" (64-bit) as input and return "int" (32-bit) as 
See also u16_width(...), u32_width(...), uc_width(..), u8_strwidth(...), 
u16_strwidth(...), u32_strwidth(...).
I can't count my 3 Gb string. Please, make them return "size_t".
Thank you very much!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]