diff --git a/webrtc/modules/video_coding/main/source/encoded_frame.cc b/webrtc/modules/video_coding/main/source/encoded_frame.cc index 0cf4874c25..2830399dd6 100644 --- a/webrtc/modules/video_coding/main/source/encoded_frame.cc +++ b/webrtc/modules/video_coding/main/source/encoded_frame.cc @@ -148,7 +148,7 @@ const RTPFragmentationHeader* VCMEncodedFrame::FragmentationHeader() const { return &_fragmentation; } -void VCMEncodedFrame::VerifyAndAllocate(const uint32_t minimumSize) +void VCMEncodedFrame::VerifyAndAllocate(size_t minimumSize) { if(minimumSize > _size) { diff --git a/webrtc/modules/video_coding/main/source/encoded_frame.h b/webrtc/modules/video_coding/main/source/encoded_frame.h index d8589070d4..6caaf42ff6 100644 --- a/webrtc/modules/video_coding/main/source/encoded_frame.h +++ b/webrtc/modules/video_coding/main/source/encoded_frame.h @@ -108,7 +108,7 @@ protected: * is copied to the new buffer. * Buffer size is updated to minimumSize. */ - void VerifyAndAllocate(const uint32_t minimumSize); + void VerifyAndAllocate(size_t minimumSize); void Reset();