Permalink
Browse files

Another fix for pc-sounddetect to fix compilation on 10.x, this shoul…

…d at least make the warning much more negligible.
  • Loading branch information...
1 parent 8beb6eb commit 6f64d7c169df43b43246f3a8f7fda2311e8cd445 Ken Moore committed Nov 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 src-qt4/pc-sounddetect/parse_sound.c
@@ -32,7 +32,7 @@ const char* GetKo(xmlDocPtr doc, xmlNodePtr cur, char* chip_id) {
if(!memcmp(tempkey,chip_id,strlen(tempkey))) {
xmlFree(key);
- char *name = cur->name;
+ const char *name = cur->name;
return name;
}
cur = cur->next;

0 comments on commit 6f64d7c

Please sign in to comment.