Index: Source/bindings/scripts/unstable/v8_types.py |
diff --git a/Source/bindings/scripts/unstable/v8_types.py b/Source/bindings/scripts/unstable/v8_types.py |
index 77a790e712348efa2f3ce68254281a6b8d793ad3..89906dec1ddc4c0cb9ae7157a7ad7eb41e9a8149 100644 |
--- a/Source/bindings/scripts/unstable/v8_types.py |
+++ b/Source/bindings/scripts/unstable/v8_types.py |
@@ -342,8 +342,8 @@ V8_VALUE_TO_CPP_VALUE_BASIC = { |
'double': 'static_cast<double>({v8_value}->NumberValue())', |
'byte': 'toInt8({arguments})', |
'octet': 'toUInt8({arguments})', |
- 'short': 'toInt32({arguments})', |
- 'unsigned short': 'toUInt32({arguments})', |
+ 'short': 'toInt16({arguments})', |
+ 'unsigned short': 'toUInt16({arguments})', |
'long': 'toInt32({arguments})', |
'unsigned long': 'toUInt32({arguments})', |
'long long': 'toInt64({arguments})', |