smpeg: build with gcc 6

This commit is contained in:
Robin Gloster
2017-01-25 20:12:36 +01:00
parent 9aae2991f2
commit 3098c3fd00
3 changed files with 49 additions and 2 deletions
@@ -0,0 +1,11 @@
--- a/plaympeg.c 2014-09-04 08:55:10.646132150 +0200
+++ b/plaympeg.c 2014-09-04 08:56:57.465210820 +0200
@@ -262,7 +262,7 @@
answer[i] = c;
}
answer[i] = 0;
- fprintf(stderr, answer + 4);
+ fprintf(stderr, "%s", answer + 4);
}
while(answer[3] == '-');