diff options
Diffstat (limited to 'WebCore/bindings/js/JSWebGLIntArrayCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSWebGLIntArrayCustom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSWebGLIntArrayCustom.cpp b/WebCore/bindings/js/JSWebGLIntArrayCustom.cpp index 9c384d8..de08256 100644 --- a/WebCore/bindings/js/JSWebGLIntArrayCustom.cpp +++ b/WebCore/bindings/js/JSWebGLIntArrayCustom.cpp @@ -54,7 +54,7 @@ JSC::JSValue JSWebGLIntArray::set(JSC::ExecState* exec, JSC::ArgList const& args if (args.size() == 2 && args.at(0).isInt32()) { // void set(in unsigned long index, in long value); unsigned index = args.at(0).toUInt32(exec); - impl()->set(index, static_cast<signed char>(args.at(1).toInt32(exec))); + impl()->set(index, static_cast<signed int>(args.at(1).toInt32(exec))); return jsUndefined(); } |