WaE: comparison between signed and unsigned integer expressions
Change-Id: Iaf4ce2ed26aeaa2995821913de341e90a8039ab9
This commit is contained in:
parent
34930cf990
commit
7d56303949
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue