Try to fix 64-bit build
authorantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2008 00:28:13 +0000 (00:28 +0000)
committerantti@apple.com <antti@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Jan 2008 00:28:13 +0000 (00:28 +0000)
        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
        (WebCore::MediaPlayerPrivate::isAvailable):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@29183 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm

index 2c05fff..18f0a6d 100644 (file)
@@ -1,3 +1,10 @@
+2008-01-04  Antti Koivisto  <antti@apple.com>
+
+        Try to fix 64-bit build
+
+        * platform/graphics/mac/MediaPlayerPrivateQTKit.mm:
+        (WebCore::MediaPlayerPrivate::isAvailable):
+
 2008-01-04  Stephanie  <slewis@apple.com>
 
         Reviewed by Oliver.
index c259a88..2b8a392 100644 (file)
@@ -646,7 +646,7 @@ void MediaPlayerPrivate::getSupportedTypes(HashSet<String>& types)
     
 bool MediaPlayerPrivate::isAvailable()
 {
-    long version;
+    SInt32 version;
     OSErr result;
     // This Carbon API is available in 64 bit too
     result = Gestalt(gestaltQuickTime, &version);