summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/IcePatch2/Util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IcePatch2/Util.cpp b/cpp/src/IcePatch2/Util.cpp
index fa90c6fed94..dd4d6b0a7ef 100644
--- a/cpp/src/IcePatch2/Util.cpp
+++ b/cpp/src/IcePatch2/Util.cpp
@@ -509,7 +509,7 @@ IcePatch2::readDirectory(const string& pa)
const wstring fs = IceUtil::stringToWstring(simplify(path + "/*"));
#if defined(_MSC_VER) && (_MSC_VER < 1300)
- long h = _wfindfirst(fs.c_str()), &data);
+ long h = _wfindfirst(fs.c_str(), &data);
#else
intptr_t h = _wfindfirst(fs.c_str(), &data);
#endif