Commit 2e1b301a authored by slewis@apple.com's avatar slewis@apple.com

2008-03-19 Stephanie Lewis <slewis@apple.com>

        Rubber-stamped by Anders.

        Fix Windows Build

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



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@31171 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 576d2c46
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.
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment