summaryrefslogtreecommitdiffstats
path: root/libssh/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/misc.c')
-rw-r--r--libssh/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libssh/misc.c b/libssh/misc.c
index 4d15a51..63ba946 100644
--- a/libssh/misc.c
+++ b/libssh/misc.c
@@ -72,7 +72,7 @@
#ifdef _WIN32
char *ssh_get_user_home_dir(void) {
char tmp[MAX_PATH] = {0};
- char szPath = NULL;
+ char *szPath = NULL;
if (SHGetSpecialFolderPathA(NULL, tmp, CSIDL_PROFILE, TRUE)) {
szPath = malloc(strlen(tmp) + 1);