Mercurial > mplayer.hg
diff subreader.c @ 605:abd7391a31e3
warnings killed
author | szabii |
---|---|
date | Mon, 23 Apr 2001 23:46:24 +0000 |
parents | 1b2cd175236f |
children | 44b764d348a0 |
line wrap: on
line diff
--- a/subreader.c Mon Apr 23 23:24:42 2001 +0000 +++ b/subreader.c Mon Apr 23 23:46:24 2001 +0000 @@ -53,7 +53,7 @@ if (!fgets (line, 1000, fd)) return NULL; } while (*line=='\n' || *line == '\r' || !*line); - if (sscanf (line, "{%d}{%d}%s", &(current->start), &(current->end),line2) <2) {return ERR;} + if (sscanf (line, "{%ld}{%ld}%s", &(current->start), &(current->end),line2) <2) {return ERR;} p=line; while (*p++!='}');