summaryrefslogtreecommitdiff
path: root/audio/aylet/files/patch-ui.c
blob: 22fc3b533b3d08795af57e7f1b5b60b423171b77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
--- ui.c.orig	2003-11-27 19:42:47 UTC
+++ ui.c
@@ -5,7 +5,9 @@
  */
 
 #include <stdio.h>
+#include <stdlib.h>
 #include <string.h>
+#include <stdlib.h>
 #include <sys/types.h>
 #include <signal.h>
 #include <curses.h>
@@ -188,8 +190,8 @@ if(need_update)
   {
   need_update=0;
   draw_frame();
-  draw_status(ay_filenames[ay_file],aydata.miscstr,aydata.authorstr,
-              ay_track+1,aydata.tracks[ay_track].namestr);
+  draw_status(ay_filenames[ay_file],(char *)aydata.miscstr, (char *)aydata.authorstr,
+              ay_track+1, (char *)aydata.tracks[ay_track].namestr);
   }
 
 /* update time display */