summaryrefslogtreecommitdiff
path: root/files.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2003-07-11 19:48:49 +0000
committerweidai <weidai11@users.noreply.github.com>2003-07-11 19:48:49 +0000
commite43a0491cddf3c55c2137addbb834cd5fe43e47a (patch)
tree6791af2f3f793b56755a4e1ec951ebbc21202091 /files.cpp
parentcadf4f866a50c3d74e8819dac1e0cf7480077f09 (diff)
downloadcryptopp-git-e43a0491cddf3c55c2137addbb834cd5fe43e47a.tar.gz
fix for Unix
Diffstat (limited to 'files.cpp')
-rw-r--r--files.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/files.cpp b/files.cpp
index 25300a1b..59d05d6d 100644
--- a/files.cpp
+++ b/files.cpp
@@ -144,7 +144,7 @@ unsigned int FileStore::CopyRangeTo2(BufferedTransformation &target, unsigned lo
unsigned long FileStore::Skip(unsigned long skipMax)
{
unsigned long oldPos = m_stream->tellg();
- m_stream->seekg(skipMax, ios_base::cur);
+ m_stream->seekg(skipMax, ios::cur);
return (unsigned long)m_stream->tellg() - oldPos;
}