From 259da4fa739f6f8a551a20e6285b2966a5d1e8c0 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 3 Oct 2013 13:37:29 +0100 Subject: Try to fix build on windows. --- src/certificates.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/certificates.cc') diff --git a/src/certificates.cc b/src/certificates.cc index f23dbc5d..818d5f72 100644 --- a/src/certificates.cc +++ b/src/certificates.cc @@ -49,7 +49,7 @@ Certificate::Certificate (boost::filesystem::path filename) : _certificate (0) , _public_key (0) { - FILE* f = fopen (filename.c_str(), "r"); + FILE* f = fopen (filename.string().c_str(), "r"); if (!f) { throw FileError ("could not open file", filename); } -- cgit v1.2.3