| 1 | Description: fix FTBFS with clang instead of gcc |
| 2 | Author: Nicolas Sévelin-Radiguet <[email protected]> |
| 3 | Last-Update: 2014-03-13 |
| 4 | --- a/contrib/mailsound/mailsound.c |
| 5 | +++ b/contrib/mailsound/mailsound.c |
| 6 | @@ -154,7 +154,7 @@ |
| 7 | pattern = strtok(buffer, " \t"); |
| 8 | sound_args = strtok(NULL, "\t\n"); |
| 9 | if ((char *)re_comp(pattern) != NULL) |
| 10 | - return; |
| 11 | + return 0; |
| 12 | if (re_exec(from)) |
| 13 | { |
| 14 | if (debug) |