Fix compilation error in auto4_lua_scriptreader.cpp

This commit is contained in:
Thomas Goyne 2013-02-16 19:53:54 -08:00
parent a9f83663e8
commit 890379bb86
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,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