diff options
-rw-r--r-- | host/utils/b2xx_fx3_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/utils/b2xx_fx3_utils.cpp b/host/utils/b2xx_fx3_utils.cpp index bdd102681..36688c6c7 100644 --- a/host/utils/b2xx_fx3_utils.cpp +++ b/host/utils/b2xx_fx3_utils.cpp @@ -543,7 +543,7 @@ boost::int32_t main(boost::int32_t argc, char *argv[]) { for(std::set<fs::path>::iterator it = globbed.begin(); it != globbed.end(); ++it) { - std::string file = (*it).filename().string(); + std::string file = fs::path((*it).filename()).string(); if(file.compare(0, 5, "0000:") == 0) { /* Un-bind the device. */ |