this avoids a warning about differences in size between void* and unsigned int under msvc: vp9_ext_ratectrl_test.cc(40,3): warning C4312: 'reinterpret_cast': conversion from 'const unsigned int' to 'void *' of greater size
Unified · Split
| @@ -8,6 +8,7 @@ · 7 unmodified lines | ||
| 8 | 8 | * be found in the AUTHORS file in the root of the source tree. |
| 9 | 9 | */ |
| 10 | 10 | |
| 11 | +#include <cstdint> | |
| 11 | 12 | #include <new> |
| 12 | 13 | |
| 13 | 14 | #include "test/codec_factory.h" |
| @@ -20,7 +21,7 @@ · 6 unmodified lines | ||
| 20 | 21 | namespace { |
| 21 | 22 | |
| 22 | 23 | constexpr int kModelMagicNumber = 51396; |
| 23 | −constexpr unsigned int PrivMagicNumber = 5566; | |
| 24 | +constexpr uintptr_t PrivMagicNumber = 5566; | |
| 24 | 25 | constexpr int kFrameNum = 5; |
| 25 | 26 | constexpr int kLosslessCodingIndex = 2; |
| 26 | 27 | |