diff options
Diffstat (limited to '')
-rw-r--r-- | src/functionread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functionread.cpp b/src/functionread.cpp index 789e9e1..b9c8397 100644 --- a/src/functionread.cpp +++ b/src/functionread.cpp | |||
@@ -26,7 +26,7 @@ Variable FunctionRead::call( Variable &input, VarList lParams ) | |||
26 | int iSize = lParams.first().toInt(); | 26 | int iSize = lParams.first().toInt(); |
27 | Bu::String sBuf( iSize ); | 27 | Bu::String sBuf( iSize ); |
28 | sBuf.resize( | 28 | sBuf.resize( |
29 | FileMgr::getInstance().get( (int)input.getOpaque() ).read( | 29 | FileMgr::getInstance().get( (ptrdiff_t)input.getOpaque() ).read( |
30 | sBuf.getStr(), iSize | 30 | sBuf.getStr(), iSize |
31 | ) | 31 | ) |
32 | ); | 32 | ); |