From 3bc857c8feadc0f35b3ca9f783fc804832835cfb Mon Sep 17 00:00:00 2001 From: dkulwin Date: Wed, 4 Nov 2015 18:49:47 -0600 Subject: [PATCH] Function prototype to support 64-bit Missing a prototype can cause a problem if we are 64-bit and the function is returning a pointer. Add a prototype to stop the return value from being corrupted. --- auth2-pubkey.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/auth2-pubkey.c b/auth2-pubkey.c index fe49785..d8d9d5d 100644 --- a/auth2-pubkey.c +++ b/auth2-pubkey.c @@ -86,7 +86,8 @@ extern u_int session_id2_len; #ifdef WIN32_FIXME extern char HomeDirLsaW[MAX_PATH]; - + wchar_t *GetHomeDir(char *userName); + #endif