Skip to content

Commit

Permalink
Added ptr size check
Browse files Browse the repository at this point in the history
  • Loading branch information
landhb committed Mar 25, 2017
1 parent 450a148 commit bfa12b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions driver/hideprocess.c
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ void modifyTaskList(UINT32 pid) {


// Check Architecture using pointer size
int * ptr;
INT_PTR ptr;

// Ptr size 8 if you are on a 64-bit machine, 4 if you are on a 32-bit machine
// Ptr size 8 if compiled for a 64-bit machine, 4 if compiled for 32-bit machine
LIST_OFFSET += sizeof(ptr);

// Get current process
Expand Down

0 comments on commit bfa12b3

Please sign in to comment.