Kaydet (Commit) 7d563039 authored tarafından David Tardon's avatar David Tardon

WaE: comparison between signed and unsigned integer expressions

Change-Id: Iaf4ce2ed26aeaa2995821913de341e90a8039ab9
üst 34930cf9
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment