diff options
author | David Tardon <dtardon@redhat.com> | 2012-09-26 05:50:49 +0200 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-09-26 05:50:49 +0200 |
commit | 7d5630394904360413de69588084b088d5df9004 (patch) | |
tree | 2976f520a39ea170f750277cf904dabfed6232be /avmedia/source | |
parent | 34930cf990ba2e295dd75da1fe0ec46754d445fc (diff) |
WaE: comparison between signed and unsigned integer expressions
Change-Id: Iaf4ce2ed26aeaa2995821913de341e90a8039ab9
Diffstat (limited to 'avmedia/source')
-rw-r--r-- | avmedia/source/gstreamer/gstframegrabber.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/gstreamer/gstframegrabber.cxx b/avmedia/source/gstreamer/gstframegrabber.cxx index c4046f11a1af..05d4d87e661b 100644 --- a/avmedia/source/gstreamer/gstframegrabber.cxx +++ b/avmedia/source/gstreamer/gstframegrabber.cxx @@ -156,7 +156,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe if( pBuf && nWidth > 0 && nHeight > 0 && // sanity check the size #ifdef AVMEDIA_GST_0_10 - GST_BUFFER_SIZE( pBuf ) >= ( nWidth * nHeight * 3 ) + GST_BUFFER_SIZE( pBuf ) >= static_cast<unsigned>( nWidth * nHeight * 3 ) #else gst_buffer_get_size( pBuf ) >= ( nWidth * nHeight * 3 ) #endif |