diff options
author | James Zern <jzern@google.com> | 2023-06-27 17:14:53 -0700 |
---|---|---|
committer | James Zern <jzern@google.com> | 2023-06-27 17:14:53 -0700 |
commit | 3d554568ced97f0b7adeb132188190a83b061754 (patch) | |
tree | c0e5bf848be06a5d6ed9154770c8b4cd2f77a1e7 | |
parent | 5101d05db27e7405392ce27c912d7a0ddeccfe7b (diff) | |
download | libwebm-3d554568ced97f0b7adeb132188190a83b061754.tar.gz |
test_util.h: use <cstdint> instead of <stdint.h>
The types used in this file are std:: qualified.
Fixes compile errors with gcc-13:
testing/test_util.cc:8:
testing/test_util.h:35:12: error: ‘uint64_t’ in namespace ‘std’ does not
name a type; did you mean ‘wint_t’?
35 | const std::uint64_t kOpusCodecDelay = 6500000;
Bug: webm:1808
Change-Id: I7584a9e88cd46677d78bdf28c3e9298a67b74c61
-rw-r--r-- | testing/test_util.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/testing/test_util.h b/testing/test_util.h index 5f85ec7..f50d259 100644 --- a/testing/test_util.h +++ b/testing/test_util.h @@ -8,9 +8,8 @@ #ifndef LIBWEBM_TESTING_TEST_UTIL_H_ #define LIBWEBM_TESTING_TEST_UTIL_H_ -#include <stdint.h> - #include <cstddef> +#include <cstdint> #include <string> namespace mkvparser { @@ -85,4 +84,4 @@ bool ParseMkvFileReleaseParser(const std::string& webm_file, } // namespace test -#endif // LIBWEBM_TESTING_TEST_UTIL_H_
\ No newline at end of file +#endif // LIBWEBM_TESTING_TEST_UTIL_H_ |