Commit 7b1b4c36 authored by Ghislain MARY's avatar Ghislain MARY

Fix build with Visual Studio.

parent e8a854ca
......@@ -81,7 +81,7 @@ string belcard_read_file(const string &filename) {
string vcard;
istr.seekg(0, ios::end);
vcard.resize(istr.tellg());
vcard.resize((size_t)istr.tellg());
istr.seekg(0, ios::beg);
istr.read(&vcard[0], vcard.size());
istr.close();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment