aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/FlacMetadata.cxx2
-rw-r--r--src/decoder/XiphTags.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder/FlacMetadata.cxx b/src/decoder/FlacMetadata.cxx
index f53c36b54..f3b5ba81c 100644
--- a/src/decoder/FlacMetadata.cxx
+++ b/src/decoder/FlacMetadata.cxx
@@ -28,7 +28,7 @@
#include <glib.h>
#include <assert.h>
-#include <stdlib.h>
+#include <string.h>
static bool
flac_find_float_comment(const FLAC__StreamMetadata *block,
diff --git a/src/decoder/XiphTags.cxx b/src/decoder/XiphTags.cxx
index b2aa6e82d..b9958a19a 100644
--- a/src/decoder/XiphTags.cxx
+++ b/src/decoder/XiphTags.cxx
@@ -24,5 +24,5 @@ const struct tag_table xiph_tags[] = {
{ "tracknumber", TAG_TRACK },
{ "discnumber", TAG_DISC },
{ "album artist", TAG_ALBUM_ARTIST },
- { NULL, TAG_NUM_OF_ITEM_TYPES }
+ { nullptr, TAG_NUM_OF_ITEM_TYPES }
};