Skip to content

Commit 1242a6d

Browse files
fix: fix type error and fix semicolon accidentally typed as colon
1 parent cbafa76 commit 1242a6d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

main.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2125,10 +2125,10 @@ int main(int argc, char* argv[]) {
21252125

21262126
std::vector<int> pids;
21272127
std::vector<std::string> trash;
2128-
trash.push_back(""):
2129-
pids.push_back(pid, trash); // function requires it to be a list even if only 1 is passed
2128+
trash.push_back("");
2129+
pids.push_back(static_cast<DWORD>(pid));// function requires it to be a list even if only 1 is passed
21302130

2131-
PIDinspect({static_cast<DWORD>(pids)});
2131+
PIDinspect({static_cast<DWORD>(pids)}, trash);
21322132
} else {
21332133
if (IsVirtualTerminalModeEnabled()) { // ugh i have to do this EVERY SINGLE TIME
21342134
std::cerr << "\033[1;31mError:\033[0m --pid option requires an argument." << std::endl;

0 commit comments

Comments
 (0)