diff options
Diffstat (limited to '')
-rw-r--r-- | src/functionwrite.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/functionwrite.cpp b/src/functionwrite.cpp index 7abb661..14a396a 100644 --- a/src/functionwrite.cpp +++ b/src/functionwrite.cpp | |||
@@ -26,7 +26,7 @@ Variable FunctionWrite::call( Variable &input, VarList lParams ) | |||
26 | "write takes one parameter, the string to write." | 26 | "write takes one parameter, the string to write." |
27 | ); | 27 | ); |
28 | } | 28 | } |
29 | FileMgr::getInstance().get( (int)input.getOpaque() ).write( | 29 | FileMgr::getInstance().get( (ptrdiff_t)input.getOpaque() ).write( |
30 | lParams.first().toString() | 30 | lParams.first().toString() |
31 | ); | 31 | ); |
32 | return Variable(); | 32 | return Variable(); |