Skip to content

Commit 9d076b8

Browse files
cast constructor for 32 bits build
1 parent ba86ab7 commit 9d076b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/AvTranscoder/ColorTransform.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ namespace avtranscoder
2424

2525
ColorTransform::ColorTransform()
2626
: m_imageConvertContext( NULL )
27-
, srcData ( MAX_SWS_PLANE, NULL )
28-
, dstData ( MAX_SWS_PLANE, NULL )
27+
, srcData ( (uint8_t)MAX_SWS_PLANE, NULL )
28+
, dstData ( (uint8_t)MAX_SWS_PLANE, NULL )
2929
, srcLineSize ( MAX_SWS_PLANE, 0 )
3030
, dstLineSize ( MAX_SWS_PLANE, 0 )
3131
, srcOffsets ( MAX_SWS_PLANE, 0 )

0 commit comments

Comments
 (0)