diff options
Diffstat (limited to 'maximilian.cpp')
| -rw-r--r-- | maximilian.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maximilian.cpp b/maximilian.cpp index 7749c7b..7ee5868 100644 --- a/maximilian.cpp +++ b/maximilian.cpp @@ -572,7 +572,7 @@ bool maxiSample::read() { bool result; ifstream inFile( myPath.c_str(), ios::in | ios::binary); - result = inFile; + result = (bool) inFile; if (inFile) { bool datafound = false; inFile.seekg(4, ios::beg); |
