Skip to content
Snippets Groups Projects
Commit 6fb2a1e1 authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

sz needs to be a SIZE_T, not a size_t.

:|
parent bf7ad258
Branches
Tags
No related merge requests found
Pipeline #7643 passed
...@@ -158,7 +158,7 @@ int conpty_connect(struct bbslist *bbs) ...@@ -158,7 +158,7 @@ int conpty_connect(struct bbslist *bbs)
.cb = sizeof(STARTUPINFOEXA) .cb = sizeof(STARTUPINFOEXA)
} }
}; };
size_t sz; SIZE_T sz;
// "Note This initial call will return an error by design. This is expected behavior." // "Note This initial call will return an error by design. This is expected behavior."
!InitializeProcThreadAttributeList(NULL, 1, 0, &sz); !InitializeProcThreadAttributeList(NULL, 1, 0, &sz);
si.lpAttributeList = HeapAlloc(heap, 0, sz); si.lpAttributeList = HeapAlloc(heap, 0, sz);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment