mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-03-22 15:05:03 +01:00
removed dependencies on the old parser. The code can now be compiled outside of Borland C++
This commit is contained in:
@@ -7,8 +7,7 @@ obtain one at
|
||||
http://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#define _USE_OLD_RW_STL
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "parser.h"
|
||||
#include "logs.h"
|
||||
|
||||
@@ -205,5 +204,5 @@ std::string cParser::readComment(const std::string Break)
|
||||
|
||||
int cParser::getProgress() const
|
||||
{
|
||||
return mStream->rdbuf()->pubseekoff(0, std::ios_base::cur) * 100 / mSize;
|
||||
return static_cast<int>( mStream->rdbuf()->pubseekoff(0, std::ios_base::cur) * 100 / mSize );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user