mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-11-16 09:23:15 +00:00
Fix dynamic_bitset implementation
This commit is contained in:
@@ -505,7 +505,7 @@ void HookContext::nativeForkSystemServer_pre() {
|
||||
}
|
||||
write_int(fd, bits.slots());
|
||||
for (int i = 0; i < bits.slots(); ++i) {
|
||||
unsigned long l = bits.to_ulong(i);
|
||||
auto l = bits.get_slot(i);
|
||||
xwrite(fd, &l, sizeof(l));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user