Skip to content

Commit

Permalink
just make the ding dang buffer bigger
Browse files Browse the repository at this point in the history
Closes #684
  • Loading branch information
anaisbetts authored Jan 11, 2024
1 parent aaec357 commit 35b1a0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Squirrel/Utility.cs
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ static unsafe class UnsafeUtility
public static List<Tuple<string, int>> EnumerateProcesses()
{
int bytesReturned = 0;
var pids = new int[2048];
var pids = new int[16384];

fixed(int* p = pids) {
if (!NativeMethods.EnumProcesses((IntPtr)p, sizeof(int) * pids.Length, out bytesReturned)) {
Expand Down

0 comments on commit 35b1a0b

Please sign in to comment.