mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-23 08:22:55 +02:00
Fix warning in Client.cppcpppcppc
This commit is contained in:
@@ -47,7 +47,7 @@ Client::Client():
|
|||||||
{
|
{
|
||||||
int fsize = configFile.tellg();
|
int fsize = configFile.tellg();
|
||||||
configFile.seekg(0, std::ios::end);
|
configFile.seekg(0, std::ios::end);
|
||||||
fsize = configFile.tellg() - fsize;
|
fsize = configFile.tellg() - (std::streampos)fsize;
|
||||||
configFile.seekg(0, ios::beg);
|
configFile.seekg(0, ios::beg);
|
||||||
if(fsize)
|
if(fsize)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user