summaryrefslogtreecommitdiff
path: root/plugins/HTTPServer/src/FileShareNode.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:34 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-23 12:32:34 +0000
commitf0ff6972eb5fecda4218fcea6686194f1b52e704 (patch)
treeb60680c9ca6f7c5fd8b57a7760c625e0371e05f5 /plugins/HTTPServer/src/FileShareNode.cpp
parent8788bb35e10ef5403a08388d33ed4ab2ff7d67df (diff)
various warning fixes
git-svn-id: http://svn.miranda-ng.org/main/trunk@5095 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HTTPServer/src/FileShareNode.cpp')
-rw-r--r--plugins/HTTPServer/src/FileShareNode.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/HTTPServer/src/FileShareNode.cpp b/plugins/HTTPServer/src/FileShareNode.cpp
index d2e9f62731..a5b57ecc14 100644
--- a/plugins/HTTPServer/src/FileShareNode.cpp
+++ b/plugins/HTTPServer/src/FileShareNode.cpp
@@ -207,11 +207,11 @@ bool CLFileShareNode::bSetPaths(char * pszSrvPath, char * pszRealPath) {
delete [] st.pszSrvPath;
delete [] st.pszRealPath;
- st.dwMaxSrvPath = strlen(pszSrvPath) + 1;
+ st.dwMaxSrvPath = (int)strlen(pszSrvPath) + 1;
st.pszSrvPath = new char[ st.dwMaxSrvPath ];
strcpy(st.pszSrvPath, pszSrvPath);
- int nRealLen = strlen(pszRealPath);
+ int nRealLen = (int)strlen(pszRealPath);
if (nRealLen <= 2 || !(pszRealPath[1] == ':' ||
(pszRealPath[0] == '\\' && pszRealPath[1] == '\\'))) {
// Relative path