replace stdint.h with cstdint

The former is deprecated by C++14. The standard says they are the same:

The header defines all types and macros the same as the C standard library
header<stdint.h>.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev
2020-03-12 17:08:53 -07:00
parent 2db8bcc353
commit a2f5a63bbc
85 changed files with 88 additions and 113 deletions

View File

@@ -23,9 +23,9 @@
#include <ogg/ogg.h>
#include <cassert>
#include <cstdint>
#include <string.h>
#include <stdint.h>
static size_t
ReadPage(const ogg_page &page, void *_buffer, size_t size) noexcept

View File

@@ -23,9 +23,9 @@
#include <ogg/ogg.h>
#include <cassert>
#include <cstdint>
#include <string.h>
#include <stdint.h>
class OggStreamState {
ogg_stream_state state;

View File

@@ -23,8 +23,7 @@
#include <ogg/ogg.h>
#include <cstddef>
#include <stdint.h>
#include <cstdint>
class Reader;