cast NULL to correct type
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 10 May 2005 08:53:07 +0000 (08:53 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 10 May 2005 08:53:07 +0000 (08:53 +0000)
Originally committed as revision 4210 to svn://svn.ffmpeg.org/ffmpeg/trunk

vhook/ppm.c

index 45e7208..807e4a9 100644 (file)
@@ -75,7 +75,7 @@ rwpipe *rwpipe_open( int argc, char *argv[] )
             close( output[ 0 ] );
             close( output[ 1 ] );
 
-            execl("/bin/sh", "sh", "-c", command, NULL );
+            execl("/bin/sh", "sh", "-c", command, (char*)NULL );
             exit( 255 );
         }
         else