From c8c033803937c2f89f6117c903465303d5ae8ea2 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Mon, 11 Jun 2007 06:38:33 +0000 Subject: [PATCH] globcasematch takes a std::string, not Path --- source/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/utils.cpp b/source/utils.cpp index 6c48d62..31ab53b 100644 --- a/source/utils.cpp +++ b/source/utils.cpp @@ -164,7 +164,7 @@ Filename splitext(const string &fn) int fnmatch(const string &pat, const Path &fn) { #ifdef WIN32 - return globcasematch(pat, fn); + return globcasematch(pat, fn.str()); #else return ::fnmatch(pat.c_str(), fn.str().c_str(), FNM_PATHNAME); #endif -- 2.43.0