https://git.reactos.org/?p=reactos.git;a=commitdiff;h=2949b2f08b57d0ae6105f…
commit 2949b2f08b57d0ae6105fdeae72f865152d91f5f
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Thu Sep 19 15:07:57 2019 +0200
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Thu Sep 19 15:07:57 2019 +0200
[CABMAN] Addendum to 7afc8882: Use PATH_MAX instead of MAX_PATH
---
sdk/tools/cabman/CCFDATAStorage.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sdk/tools/cabman/CCFDATAStorage.cxx b/sdk/tools/cabman/CCFDATAStorage.cxx
index b45aaf98f2d..c827a6e87f5 100644
--- a/sdk/tools/cabman/CCFDATAStorage.cxx
+++ b/sdk/tools/cabman/CCFDATAStorage.cxx
@@ -55,7 +55,7 @@ CCFDATAStorage::~CCFDATAStorage()
*/
ULONG CCFDATAStorage::Create()
{
- char TmpName[MAX_PATH];
+ char TmpName[PATH_MAX];
char *pName;
int length;