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:
@@ -24,8 +24,7 @@
|
||||
|
||||
#include <algorithm>
|
||||
#include <cassert>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
namespace Alsa {
|
||||
|
||||
|
@@ -22,7 +22,7 @@
|
||||
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
static constexpr uint_least32_t
|
||||
MakeAlsaVersion(uint_least32_t major, uint_least32_t minor,
|
||||
|
@@ -24,11 +24,10 @@
|
||||
#include "decoder/Client.hxx"
|
||||
#include "thread/Mutex.hxx"
|
||||
|
||||
#include <cstdint>
|
||||
#include <exception>
|
||||
#include <memory>
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
class PcmConvert;
|
||||
|
||||
class ChromaprintDecoderClient : public DecoderClient {
|
||||
|
@@ -34,8 +34,7 @@
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
||||
|
@@ -29,8 +29,7 @@ extern "C" {
|
||||
}
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
/* suppress the ffmpeg compatibility macro */
|
||||
#ifdef SampleFormat
|
||||
|
@@ -34,8 +34,7 @@
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <array>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
template<typename T> struct ConstBuffer;
|
||||
|
||||
|
@@ -26,10 +26,10 @@
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <exception>
|
||||
#include <string>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
struct nfsfh;
|
||||
|
@@ -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
|
||||
|
@@ -23,9 +23,9 @@
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdint>
|
||||
|
||||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
|
||||
class OggStreamState {
|
||||
ogg_stream_state state;
|
||||
|
@@ -23,8 +23,7 @@
|
||||
#include <ogg/ogg.h>
|
||||
|
||||
#include <cstddef>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <cstdint>
|
||||
|
||||
class Reader;
|
||||
|
||||
|
Reference in New Issue
Block a user