Fix compilation error

This commit is contained in:
Thomas Goyne 2013-06-23 12:35:00 -07:00
parent ec07db2615
commit 1f93280376
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@ namespace Automation4 {
conv->Convert(&in, &in_bytes, &out, &out_bytes);
if (in_bytes > 0 && in != in_buf)
file.seekg(-(std::streamoff)in_bytes, std::ios_base::cur);
file->seekg(-(std::streamoff)in_bytes, std::ios_base::cur);
*bytes_read = out - buf;
// Skip the bom