mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[python] Port: we used the wrong variable
Found by clang-analyzer
This commit is contained in:
committed by
LeaNumworks
parent
5afdec00b8
commit
7acec88006
@@ -177,7 +177,7 @@ void MicroPython::collectRootsAtAddress(char * address, int byteLength) {
|
||||
alignedByteLength += reinterpret_cast<uintptr_t>(address) & bitMaskOnes;
|
||||
|
||||
assert(alignedAddress % ((uintptr_t)sizeof(uintptr_t)) == 0);
|
||||
gc_collect_root((void **)alignedAddress, byteLength / sizeof(uintptr_t));
|
||||
gc_collect_root((void **)alignedAddress, alignedByteLength / sizeof(uintptr_t));
|
||||
}
|
||||
|
||||
KDColor MicroPython::Color::Parse(mp_obj_t input, Mode mode){
|
||||
|
||||
Reference in New Issue
Block a user