summaryrefslogtreecommitdiff
path: root/multimedia/transcode/files/patch-src:filter:subtitler:frame_list.c
blob: e4823a2b8dad6d8e5041ffbe379eb8510756d280 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- filter/subtitler/frame_list.c.orig	Thu May 23 10:53:06 2002
+++ filter/subtitler/frame_list.c	Thu May 23 10:53:34 2002
@@ -33,8 +33,8 @@
 
 char *strsave(char *s) /*save char array s somewhere*/
 {
-char *p, *malloc();
-if(p = malloc( strlen(s) +  1) ) strcpy(p, s);
+char *p;
+if(p = (char *)malloc( strlen(s) +  1) ) strcpy(p, s);
 return(p);
 }