diff options
| author | nagachika <nagachika@ruby-lang.org> | 2024-07-15 09:26:25 +0900 |
|---|---|---|
| committer | nagachika <nagachika@ruby-lang.org> | 2024-07-15 09:26:25 +0900 |
| commit | a54c717c7a74b91a3cdf20742c355e3ea42052d1 (patch) | |
| tree | be32f6cf42b591e65d48f53b280cfcf81c044b25 /include/ruby | |
| parent | 6b73406833dd22e489114fa77c1c80c4b7af2ed0 (diff) | |
merge revision(s) e04146129ec6898dd6a9739dad2983c6e9b68056, d5080f6e8b77364483ff6727b1065e45e180f05d: [Backport #20292]
[Bug #20292] Truncate embedded string to new capacity
Fix -Wsign-compare on String#initialize
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
../string.c:1886:57: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘long int’ [-Wsign-compare]
1886 | if (STR_EMBED_P(str)) RUBY_ASSERT(osize <= str_embed_capa(str));
| ^~
Diffstat (limited to 'include/ruby')
0 files changed, 0 insertions, 0 deletions
