diff options
author | Anders Bakken <anders.bakken@nokia.com> | 2009-08-28 03:25:53 (GMT) |
---|---|---|
committer | Anders Bakken <anders.bakken@nokia.com> | 2009-08-28 03:25:53 (GMT) |
commit | 8548ddd7b32bdcb8b77534a01ff72fcd53841eae (patch) | |
tree | ed1881c654df2159d884513b32ab8f3d91137326 /src/plugins | |
parent | 2537855167535afa317664828ca47d9a25fe127b (diff) | |
download | Qt-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.cpp | 2 |
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); } |