diff options
author | McCabe Maxsted | 2010-08-16 20:48:04 -0700 |
---|---|---|
committer | McCabe Maxsted | 2010-08-26 11:22:07 -0700 |
commit | 0f7e19f3e885ab97a98ab219329a7e0c2da5a20b (patch) | |
tree | 69a43ff5968f4c20d395a626114e2435e3575c59 /linden/indra/lscript/lscript_compile/lscript_bytecode.cpp | |
parent | Applied patch from #405: show avatar age in profile, Ansariel Hiller ported t... (diff) | |
download | meta-impy-0f7e19f3e885ab97a98ab219329a7e0c2da5a20b.zip meta-impy-0f7e19f3e885ab97a98ab219329a7e0c2da5a20b.tar.gz meta-impy-0f7e19f3e885ab97a98ab219329a7e0c2da5a20b.tar.bz2 meta-impy-0f7e19f3e885ab97a98ab219329a7e0c2da5a20b.tar.xz |
Fixed some missing constants in the script editor and added llGetLinkNumberOfSides
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 | } |