[libc++] Use unsigned char in basic_string::__short again
authorNikolas Klauser <nikolasklauser@berlin.de>
Sat, 11 Jun 2022 21:43:00 +0000 (23:43 +0200)
committerNikolas Klauser <nikolasklauser@berlin.de>
Sun, 12 Jun 2022 19:06:46 +0000 (21:06 +0200)
commit0d108f7908586efe2d550fed10ba21b4ea69836e
tree22fb9291852570fadf7cc7f182c0ece8b411c956
parent571ae1abebb6b102cc2e95e3abf8e81757fba35a
[libc++] Use unsigned char in basic_string::__short again

D125496 changed the string layout on windows. Change `__is_long_` and `__size_` back to using `unsigned char` to fix the issue.

Reviewed By: Mordante, #libc

Spies: jloser, libcxx-commits, ayzhao

Differential Revision: https://reviews.llvm.org/D127566
libcxx/include/string