Use unsigned short for length of embedded strings
This commit is contained in:
parent
d9ef711f29
commit
bc643bbe2e
Notes:
git
2022-01-08 05:48:36 +09:00
@ -280,7 +280,7 @@ struct RString {
|
||||
/** Embedded contents. */
|
||||
struct {
|
||||
#if USE_RVARGC
|
||||
short len;
|
||||
unsigned short len;
|
||||
/* This is a length 1 array because:
|
||||
* 1. GCC has a bug that does not optimize C flexible array members
|
||||
* (https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102452)
|
||||
|
Loading…
x
Reference in New Issue
Block a user