From 263da7f3b44ae13345f47a6d9658b49c994bbdac Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 20 Sep 2018 16:04:06 +0000 Subject: Change CFX_FixedBufGrow to take a size_t. Thanks to Qihoo 360 Vulcan Team for pointing this out. Change-Id: Ib6dd77307b3759e54168127dc0e17aa42698d852 Reviewed-on: https://pdfium-review.googlesource.com/42830 Reviewed-by: Tom Sepez Commit-Queue: Lei Zhang --- core/fxcrt/cfx_fixedbufgrow.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'core') diff --git a/core/fxcrt/cfx_fixedbufgrow.h b/core/fxcrt/cfx_fixedbufgrow.h index 55db8b21d1..558347ed59 100644 --- a/core/fxcrt/cfx_fixedbufgrow.h +++ b/core/fxcrt/cfx_fixedbufgrow.h @@ -11,10 +11,10 @@ #include "core/fxcrt/fx_memory.h" -template +template class CFX_FixedBufGrow { public: - explicit CFX_FixedBufGrow(int data_size) { + explicit CFX_FixedBufGrow(size_t data_size) { if (data_size > FixedSize) { m_pGrowData.reset(FX_Alloc(DataType, data_size)); return; -- cgit v1.2.3