summaryrefslogtreecommitdiff
path: root/core/fxcrt/cfx_fixedbufgrow.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcrt/cfx_fixedbufgrow.h')
-rw-r--r--core/fxcrt/cfx_fixedbufgrow.h4
1 files changed, 2 insertions, 2 deletions
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 <class DataType, int FixedSize>
+template <class DataType, size_t FixedSize>
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;