From 5716927cbf5812d6541d1587106aca1a844d4006 Mon Sep 17 00:00:00 2001 From: Nicholas Hastings Date: Wed, 20 Aug 2014 21:37:47 -0400 Subject: [PATCH] Fix compile error on with MSVC. --- core/logic/smn_filesystem.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/logic/smn_filesystem.cpp b/core/logic/smn_filesystem.cpp index 711477623..4d270d9de 100644 --- a/core/logic/smn_filesystem.cpp +++ b/core/logic/smn_filesystem.cpp @@ -267,7 +267,7 @@ static cell_t sm_OpenDirectory(IPluginContext *pContext, const cell_t *params) if (pFirst) { valveDir->bHandledFirstPath = false; - strncpy(valveDir->szFirstPath, pFirst, sizeof(ValveDirectory::szFirstPath)); + strncpy(valveDir->szFirstPath, pFirst, sizeof(valveDir->szFirstPath)); } else {