diff options
Diffstat (limited to 'WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp')
-rw-r--r-- | WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp b/WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp index 35a545d..b576374 100644 --- a/WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp +++ b/WebCore/bindings/js/JSWebGLUnsignedByteArrayCustom.cpp @@ -54,7 +54,7 @@ JSC::JSValue JSWebGLUnsignedByteArray::set(JSC::ExecState* exec, JSC::ArgList co 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<unsigned char>(args.at(1).toInt32(exec))); return jsUndefined(); } |