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 2cb0a54..c78876f 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;