diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-20 00:45:43 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-04-20 00:45:43 (GMT) |
| commit | 0bab640fe48a3b13eb01101977d0c5cb8fef199a (patch) | |
| tree | 012b39eff4ec8a37541f372f3d2fd1c75a95a15f /src/client/Client.cpp | |
| parent | 75388815912e32deeecfb0ec23d5ebb5bb3c1ce9 (diff) | |
| download | powder-0bab640fe48a3b13eb01101977d0c5cb8fef199a.zip powder-0bab640fe48a3b13eb01101977d0c5cb8fef199a.tar.gz | |
Fix warning in Client.cppcpppcppc
Diffstat (limited to 'src/client/Client.cpp')
| -rw-r--r-- | src/client/Client.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/Client.cpp b/src/client/Client.cpp index 9a11084..4e51600 100644 --- a/src/client/Client.cpp +++ b/src/client/Client.cpp @@ -47,7 +47,7 @@ Client::Client(): { int fsize = configFile.tellg(); configFile.seekg(0, std::ios::end); - fsize = configFile.tellg() - fsize; + fsize = configFile.tellg() - (std::streampos)fsize; configFile.seekg(0, ios::beg); if(fsize) { |
