From 94ae952206c577c5ed31c743761d1fbc4323b3a2 Mon Sep 17 00:00:00 2001 From: Magnus Jacobsson Date: Sat, 15 Jan 2022 17:35:11 +0100 Subject: [PATCH] lneato: Windows: replace obsolete PASCAL declaration with WINAPI See https://docs.microsoft.com/en-us/cpp/cpp/obsolete-calling-conventions?view=msvc-170. --- cmd/lneato/mswin32/lneato.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/lneato/mswin32/lneato.c b/cmd/lneato/mswin32/lneato.c index 512010abb..b9226ce8a 100644 --- a/cmd/lneato/mswin32/lneato.c +++ b/cmd/lneato/mswin32/lneato.c @@ -24,7 +24,7 @@ static char *shellpath; static char *buildpath (char *); static void panic (char *, int, char *, char *, ...); -int PASCAL WinMain (HANDLE hInstance, HANDLE hPrevInstance, +int WINAPI WinMain (HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow) { HANDLE handle; char cmd[256]; -- 2.40.0