cstyle_cast -> static_cast
This commit is contained in:
parent
8a81fb526d
commit
7023416688
1 changed files with 1 additions and 1 deletions
|
@ -1093,7 +1093,7 @@ public:
|
|||
|
||||
static const char * lua_read_data(lua_State * /*L*/, void *data, size_t *size)
|
||||
{
|
||||
lua_filestream* lfs = (lua_filestream*) data;
|
||||
lua_filestream* lfs = static_cast<lua_filestream*>(data);
|
||||
|
||||
//int startpos = lfs->pistream_->tellg();
|
||||
lfs->pistream_->read(lfs->buff_, LUAL_BUFFERSIZE);
|
||||
|
|
Loading…
Add table
Reference in a new issue