diff options
Diffstat (limited to 'linden/indra/lscript/lscript_compile/lscript_bytecode.cpp')
-rw-r--r-- | linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp index 9cd7d48..0e46064 100644 --- a/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp +++ b/linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |||
@@ -312,7 +312,7 @@ void LLScriptScriptCodeChunk::build(LLFILE *efp, LLFILE *bcfp) | |||
312 | set_register(mCompleteCode, LREG_TM, mTotalSize); | 312 | set_register(mCompleteCode, LREG_TM, mTotalSize); |
313 | 313 | ||
314 | 314 | ||
315 | if (fwrite(mCompleteCode, 1, mTotalSize, bcfp) != mTotalSize) | 315 | if (fwrite(mCompleteCode, 1, mTotalSize, bcfp) != (size_t)mTotalSize) |
316 | { | 316 | { |
317 | llwarns << "Short write" << llendl; | 317 | llwarns << "Short write" << llendl; |
318 | } | 318 | } |