Commit bf2a6fe
committed
Fix byte_array endianness reset when byte_array allocates more memory
Occurred first when a `byte_array` grows to size 1024, required calling `ba_set_little_endian(true)` again after more memory was allocated as a workaround. With this commit, the endianness is preserved correctly.1 parent 32b284d commit bf2a6fe
File tree
1 file changed
+2
-1
lines changed- src/main/java/com/laytonsmith/core/constructs
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
| 114 | + | |
| 115 | + | |
114 | 116 | | |
115 | | - | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments