summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorAnders Bakken <anders.bakken@nokia.com>2009-08-28 03:25:53 (GMT)
committerAnders Bakken <anders.bakken@nokia.com>2009-08-28 03:25:53 (GMT)
commit8548ddd7b32bdcb8b77534a01ff72fcd53841eae (patch)
treeed1881c654df2159d884513b32ab8f3d91137326 /src/plugins
parent2537855167535afa317664828ca47d9a25fe127b (diff)
downloadQt-8548ddd7b32bdcb8b77534a01ff72fcd53841eae.zip
Qt-8548ddd7b32bdcb8b77534a01ff72fcd53841eae.tar.gz
Qt-8548ddd7b32bdcb8b77534a01ff72fcd53841eae.tar.bz2
Remove unnecessary static_cast in QDirectFBScreen
Reviewed-by: TrustMe
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
index 1063d52..4542051 100644
--- a/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
+++ b/src/plugins/gfxdrivers/directfb/qdirectfbscreen.cpp
@@ -1512,7 +1512,7 @@ bool QDirectFBScreen::initSurfaceDescriptionPixelFormat(DFBSurfaceDescription *d
uchar *QDirectFBScreen::lockSurface(IDirectFBSurface *surface, DFBSurfaceLockFlags flags, int *bpl)
{
void *mem;
- const DFBResult result = surface->Lock(surface, flags, static_cast<void**>(&mem), bpl);
+ const DFBResult result = surface->Lock(surface, flags, &mem, bpl);
if (result != DFB_OK) {
DirectFBError("QDirectFBScreen::lockSurface()", result);
}