X-Git-Url: http://research.m1stereo.tv/gitweb?a=blobdiff_plain;f=src%2Fframework%2Fmlt_properties.c;h=97ee02deee2eec8ff603a7d994f2e0c9bd9dab5a;hb=d5fa53ca96e2cf875f7de0890292d9db2abbda80;hp=da69c85ed59f55ea3a40d5ecbd38f60a298edd71;hpb=55bc87f8ad71fc8bfa14d0a04d3551568e0b7641;p=melted diff --git a/src/framework/mlt_properties.c b/src/framework/mlt_properties.c index da69c85..97ee02d 100644 --- a/src/framework/mlt_properties.c +++ b/src/framework/mlt_properties.c @@ -456,7 +456,7 @@ int mlt_properties_pass_list( mlt_properties this, mlt_properties that, const ch { char *props = strdup( list ); char *ptr = props; - char *delim = " ,\t\n"; // Any combination of spaces, commas, tabs, and newlines + const char *delim = " ,\t\n"; // Any combination of spaces, commas, tabs, and newlines int count, done = 0; while( !done ) @@ -1073,7 +1073,7 @@ static int mlt_fnmatch( const char *wild, const char *file ) static int mlt_compare( const void *this, const void *that ) { - return strcmp( mlt_property_get_string( *( mlt_property * )this ), mlt_property_get_string( *( mlt_property * )that ) ); + return strcmp( mlt_property_get_string( *( const mlt_property * )this ), mlt_property_get_string( *( const mlt_property * )that ) ); } /** Get the contents of a directory.