From 6fb2a1e1f2884a0e4a9486585c3517156109a5cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net> Date: Tue, 7 Jan 2025 01:29:02 -0500 Subject: [PATCH] sz needs to be a SIZE_T, not a size_t. :| --- src/syncterm/conn_conpty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syncterm/conn_conpty.c b/src/syncterm/conn_conpty.c index 1d68a708e5..826fd6b2b2 100644 --- a/src/syncterm/conn_conpty.c +++ b/src/syncterm/conn_conpty.c @@ -158,7 +158,7 @@ int conpty_connect(struct bbslist *bbs) .cb = sizeof(STARTUPINFOEXA) } }; - size_t sz; + SIZE_T sz; // "Note This initial call will return an error by design. This is expected behavior." !InitializeProcThreadAttributeList(NULL, 1, 0, &sz); si.lpAttributeList = HeapAlloc(heap, 0, sz); -- GitLab