Skip to content

Commit

Permalink
cstyle_cast -> static_cast
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgtdf authored and cbeck88 committed Oct 26, 2014
1 parent 0d38bfa commit 84ed48a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripting/lua.cpp
Expand Up @@ -1029,7 +1029,7 @@ class lua_filestream

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);
Expand Down

0 comments on commit 84ed48a

Please sign in to comment.