WaE: comparison between signed and unsigned integer expressions

Change-Id: Iaf4ce2ed26aeaa2995821913de341e90a8039ab9
This commit is contained in:
David Tardon 2012-09-26 05:50:49 +02:00
parent 34930cf990
commit 7d56303949

View file

@ -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