Added code to initialize and destroy string variables in classes
- Will require being able to add strings to non-native classes to actually test this.
This commit is contained in:
parent
15208188de
commit
7c8cff64e6
5 changed files with 211 additions and 30 deletions
|
|
@ -3039,7 +3039,7 @@ ExpEmit FxArrayElement::Emit(VMFunctionBuilder *build)
|
|||
{
|
||||
ExpEmit indexv(index->Emit(build));
|
||||
int shiftbits = 0;
|
||||
while (1 << shiftbits < arraytype->ElementSize)
|
||||
while (1u << shiftbits < arraytype->ElementSize)
|
||||
{
|
||||
shiftbits++;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue