]> granicus.if.org Git - handbrake/commitdiff
CLI: Add type (int) to is_whole_media_service() to remove compile warning.
authoreddyg <eddyg.hb@myreflection.org>
Sun, 21 Jun 2009 22:24:24 +0000 (22:24 +0000)
committereddyg <eddyg.hb@myreflection.org>
Sun, 21 Jun 2009 22:24:24 +0000 (22:24 +0000)
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2595 b64f7644-9d1e-0410-96f1-a4d463321fa5

test/test.c

index 3d665a7af843b9b7f2f303849c90134e821b4cbb..1c2b36cc2301c360107ccce8328a82b6c453fd7d 100644 (file)
@@ -137,7 +137,7 @@ static char* bsd_name_for_path(char *path);
 static int device_is_dvd(char *device);
 static io_service_t get_iokit_service( char *device );
 static int is_dvd_service( io_service_t service );
-static is_whole_media_service( io_service_t service );
+static int is_whole_media_service( io_service_t service );
 #endif
 
 /* Only print the "Muxing..." message once */
@@ -3206,7 +3206,7 @@ static int is_dvd_service( io_service_t service )
  * The whole media object is indicated in the IORegistry by the presence of a
  * property with the key "Whole" and value "Yes".
  ****************************************************************************/
-static is_whole_media_service( io_service_t service )
+static int is_whole_media_service( io_service_t service )
 {
     int result = 0;