Fix typo.
authorDan Witte <dwitte@mozilla.com>
Fri, 02 Oct 2009 22:44:00 -0700
changeset 33415 6078ebef6e2d4ab538a20ffb8166eaa8698208db
parent 33414 f2f941b8bff83d657bde5343ee3aba58a4968712
child 33416 b638150de7fb1cfde42d6dac7aa87047395af043
push id1
push userroot
push dateTue, 26 Apr 2011 22:38:44 +0000
treeherdermozilla-beta@bfdb6e623a36 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone1.9.3a1pre
Fix typo.
js/ctypes/Function.cpp
--- a/js/ctypes/Function.cpp
+++ b/js/ctypes/Function.cpp
@@ -243,16 +243,17 @@ PrepareValue(JSContext* aContext, const 
     aResult.mData = &aResult.mValue.mInt16;
     break;
   case nsIForeignLibrary::INT32:
     // Do not implicitly lose bits.
     if (!jsvalToIntStrict(aValue, &aResult.mValue.mInt32))
       return TypeError(aContext, "int32", aValue);
 
     aResult.mData = &aResult.mValue.mInt32;
+    break;
   case nsIForeignLibrary::INT64:
     // Do not implicitly lose bits.
     if (!jsvalToIntStrict(aValue, &aResult.mValue.mInt64))
       return TypeError(aContext, "int64", aValue);
 
     aResult.mData = &aResult.mValue.mInt64;
     break;
   case nsIForeignLibrary::UINT8:
@@ -270,16 +271,17 @@ PrepareValue(JSContext* aContext, const 
     aResult.mData = &aResult.mValue.mUint16;
     break;
   case nsIForeignLibrary::UINT32:
     // Do not implicitly lose bits.
     if (!jsvalToIntStrict(aValue, &aResult.mValue.mUint32))
       return TypeError(aContext, "uint32", aValue);
 
     aResult.mData = &aResult.mValue.mUint32;
+    break;
   case nsIForeignLibrary::UINT64:
     // Do not implicitly lose bits.
     if (!jsvalToIntStrict(aValue, &aResult.mValue.mUint64))
       return TypeError(aContext, "uint64", aValue);
 
     aResult.mData = &aResult.mValue.mUint64;
     break;
   case nsIForeignLibrary::FLOAT: