diff options
author | Rosen Penev <rosenp@gmail.com> | 2020-03-12 17:08:53 -0700 |
---|---|---|
committer | Rosen Penev <rosenp@gmail.com> | 2020-03-12 19:04:39 -0700 |
commit | a2f5a63bbc1a21be672d358a107a3a206c0c5369 (patch) | |
tree | 7d2bea6fdbaa44d80db0f8dba2851c2de92d768e /src/pcm/Silence.hxx | |
parent | 2db8bcc353ce4360a6dbe4c73afcaae1c27fce43 (diff) |
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>
Diffstat (limited to 'src/pcm/Silence.hxx')
-rw-r--r-- | src/pcm/Silence.hxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pcm/Silence.hxx b/src/pcm/Silence.hxx index 7ae300c84..bfca0069c 100644 --- a/src/pcm/Silence.hxx +++ b/src/pcm/Silence.hxx @@ -20,7 +20,7 @@ #ifndef MPD_PCM_SILENCE_HXX #define MPD_PCM_SILENCE_HXX -#include <stdint.h> +#include <cstdint> template<typename T> struct WritableBuffer; enum class SampleFormat : uint8_t; |