audio/mp3blaster: fix build with Clang 3.9

PR:		212623
Approved by:	novel
This commit is contained in:
Ed Maste 2016-09-19 18:00:03 +00:00
parent a50f67ec85
commit c0f2865f0d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422453

View file

@ -0,0 +1,11 @@
--- src/global.cc.orig 2016-09-12 14:29:38.335706000 -0400
+++ src/global.cc 2016-09-12 14:26:46.344490000 -0400
@@ -371,7 +371,7 @@
is_sid(const char *filename)
{
#ifdef HAVE_SIDPLAYER
- char *ext = strrchr(filename, '.');
+ const char *ext = strrchr(filename, '.');
if (ext) {
if (!strcasecmp(ext, ".psid")) return 1;
if (!strcasecmp(ext, ".sid")) return 1;