summaryrefslogtreecommitdiff
path: root/avmedia/source
diff options
context:
space:
mode:
Diffstat (limited to 'avmedia/source')
-rw-r--r--avmedia/source/gstreamer/gstframegrabber.cxx2
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