diff options
author | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
---|---|---|
committer | cyberbotx <cyberbotx@5417fbe8-f217-4b02-8779-1006273d7864> | 2008-12-17 20:17:52 +0000 |
commit | ad7b5bdd30405b92042c4a1872175be80d8d111f (patch) | |
tree | 8cdcd0509d935c1606f14a3f89f407897e2bc3d0 /src/modules.c | |
parent | c4a8cc7e2f3890b8d82051c89748bea80350e8d4 (diff) |
A few GCC 3.4.x and MSVC++ warning fixes.
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@1839 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/modules.c')
-rw-r--r-- | src/modules.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/modules.c b/src/modules.c index 0d7bd199b..48a01c43a 100644 --- a/src/modules.c +++ b/src/modules.c @@ -1233,7 +1233,6 @@ void ModuleRunTimeDirCleanUp() BOOL fFinished; HANDLE hList; TCHAR szDir[MAX_PATH + 1]; - TCHAR szSubDir[MAX_PATH + 1]; WIN32_FIND_DATA FileData; char buffer[_MAX_PATH]; #endif @@ -1294,7 +1293,7 @@ void ModuleRunTimeDirCleanUp() } } else { if (debug) { - alog("debug: Invalid File Handle. GetLastError reports %d\n", GetLastError()); + alog("debug: Invalid File Handle. GetLastError reports %d\n", static_cast<int>(GetLastError())); } } FindClose(hList); |