From: michael Date: Sat, 1 Jul 2006 18:46:22 +0000 (+0000) Subject: s/atol/atoi/ X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/record-dvb/commitdiff_plain/6a3dc096fef9e1206f945640bd44ac3077096e54 s/atol/atoi/ --- diff --git a/record-dvb.c b/record-dvb.c index a289874..45d2fcb 100644 --- a/record-dvb.c +++ b/record-dvb.c @@ -71,7 +71,7 @@ int main(int argc, char **argv) if (argc == 4) { url = argv[1]; - duration = atol(argv[2])*60; + duration = atoi(argv[2])*60; outfile = argv[3]; } else { fprintf(stderr,"Syntax: %s URL duration_in_minutes outfile\n", argv[0]);