2008-03-19 Stephanie Lewis <slewis@apple.com>
authorslewis@apple.com <slewis@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Mar 2008 05:23:19 +0000 (05:23 +0000)
committerslewis@apple.com <slewis@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 20 Mar 2008 05:23:19 +0000 (05:23 +0000)
        Rubber-stamped by Anders.

        Fix Windows Build

        * platform/cf/SharedBufferCF.cpp:
        (WebCore::SharedBuffer::createCFData):

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

WebCore/ChangeLog
WebCore/platform/cf/SharedBufferCF.cpp

index 3f91c19..6458833 100644 (file)
@@ -1,3 +1,12 @@
+2008-03-19  Stephanie Lewis  <slewis@apple.com>
+
+        Rubber-stamped by Anders.
+
+        Fix Windows Build
+
+        * platform/cf/SharedBufferCF.cpp:
+        (WebCore::SharedBuffer::createCFData):
+
 2008-03-19  Stephanie Lewis <slewis@apple.com>
 
         Rubber-stamped by Anders.
index 18ce7a9..c0e471a 100644 (file)
@@ -45,7 +45,7 @@ CFDataRef SharedBuffer::createCFData()
         return m_cfData.get();
     }
 
-    return CFDataCreate(0, m_buffer.data(), m_buffer.size());
+    return CFDataCreate(0, reinterpret_cast<const UInt8*>(m_buffer.data()), m_buffer.size());
 }
 #endif