]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - API/ObjcRuntimeExtras.h
JavaScriptCore-7601.1.46.3.tar.gz
[apple/javascriptcore.git] / API / ObjcRuntimeExtras.h
index c85bc9225167dc9d84d0f880bcb81bd420efda4c..128df5c905db610ad82c7392210cf91159b34108 100644 (file)
@@ -23,6 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
+#import <objc/Protocol.h>
 #import <objc/runtime.h>
 #import <wtf/HashSet.h>
 #import <wtf/Vector.h>
 #import <objc/runtime.h>
 #import <wtf/HashSet.h>
 #import <wtf/Vector.h>
@@ -163,7 +164,7 @@ typename DelegateType::ResultType parseObjCType(const char*& position)
     case 'l':
         return DelegateType::template typeInteger<long>();
     case 'q':
     case 'l':
         return DelegateType::template typeInteger<long>();
     case 'q':
-        return DelegateType::template typeDouble<unsigned long long>();
+        return DelegateType::template typeDouble<long long>();
     case 'C':
         return DelegateType::template typeInteger<unsigned char>();
     case 'I':
     case 'C':
         return DelegateType::template typeInteger<unsigned char>();
     case 'I':