Skip to content

Commit

Permalink
Add back Platform-Specific Cast
Browse files Browse the repository at this point in the history
  • Loading branch information
time-killer-games authored Aug 9, 2023
1 parent 184c8ae commit 31dc29e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions openbsd/OpenBSDMachine.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Machine* Machine_new(UsersTable* usersTable, uid_t userId) {
}

void Machine_delete(Machine* super) {
OpenBSDMachine* this = super;
OpenBSDMachine* this = (OpenBSDMachine*) super;

if (this->kd) {
kvm_close(this->kd);
Expand Down Expand Up @@ -262,7 +262,7 @@ static void OpenBSDMachine_scanCPUTime(OpenBSDMachine* this) {
}

void Machine_scan(Machine* super) {
OpenBSDMachine* this = super;
OpenBSDMachine* this = (OpenBSDMachine*) super;

OpenBSDMachine_updateCPUcount(this);
OpenBSDMachine_scanMemoryInfo(this);
Expand Down

0 comments on commit 31dc29e

Please sign in to comment.