Skip to content

Commit

Permalink
Fix int to size_t conversion warning in av::Frame::size(size_t)
Browse files Browse the repository at this point in the history
  • Loading branch information
h4tr3d committed Mar 29, 2018
1 parent b82f702 commit 3d5c6d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/frame.h
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class Frame : public FFWrapperPtr<AVFrame>
m_raw->extended_buf[plane - AV_NUM_DATA_POINTERS];
if (buf == nullptr)
return 0;
return buf->size;
return size_t(buf->size);
}

size_t size() const {
Expand Down

0 comments on commit 3d5c6d1

Please sign in to comment.