Skip to content

Commit 49b4eff

Browse files
committed
Added include and namespace to correctly reference size_t.
1 parent b0da2e4 commit 49b4eff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/publictypes.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#ifdef __cplusplus
99

1010
#include <cstdint>
11+
#include <cstddef>
1112

1213
namespace charls
1314
{
@@ -78,7 +79,7 @@ typedef charls::InterleaveMode CharlsInterleaveModeType;
7879
typedef charls::ColorTransformation CharlsColorTransformationType;
7980

8081
// Defines the size of the char buffer that should be passed to the CharLS API to get the error message text.
81-
const size_t ErrorMessageSize = 256;
82+
const std::size_t ErrorMessageSize = 256;
8283

8384
#else
8485

0 commit comments

Comments
 (0)