]> git.sesse.net Git - vlc/commitdiff
use correct return type
authorRafaël Carré <funman@videolan.org>
Sun, 4 Nov 2007 11:12:06 +0000 (11:12 +0000)
committerRafaël Carré <funman@videolan.org>
Sun, 4 Nov 2007 11:12:06 +0000 (11:12 +0000)
modules/access/vcd/cdrom.c

index 2cb0a548660c4e65ca151c552c5286947557cf1c..c78876f984618101385bb13aa8199fa07faa91c5 100644 (file)
@@ -457,7 +457,7 @@ int ioctl_GetTracksMap( vlc_object_t *p_this, const vcddev_t *p_vcddev,
              if( *pp_sectors == NULL )
              {
                  msg_Err( p_this, "out of memory" );
-                 return NULL;
+                 return 0;
              }
 
              toc_entries.address_format = CD_LBA_FORMAT;