Changeset 2082

Show
Ignore:
Timestamp:
06/03/09 12:41:28 (15 months ago)
Author:
drobilla
Message:

Fix warnings.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/slv2/src/world.c

    r2081 r2082  
    431431{ 
    432432        // FIXME: This will need to be a bit more clever when more data is around 
    433         // then the ontology (ie classes which aren't LV2 plugin_classes) 
     433        // than the ontology (ie classes which aren't LV2 plugin_classes) 
    434434 
    435435        // FIXME: This loads things that aren't plugin categories 
     
    439439                "PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>\n" 
    440440                "SELECT DISTINCT ?class ?parent ?label WHERE {\n" 
    441                 //"     ?plugin a ?class .\n" 
    442441                "       ?class a rdfs:Class; rdfs:subClassOf ?parent; rdfs:label ?label\n" 
    443                 "}\n"; // ORDER BY ?class\n"; 
     442                "}\n"; 
    444443 
    445444        librdf_query* q = librdf_new_query(world->world, "sparql", 
     
    563562                                        if (strcmp( 
    564563                                                        slv2_value_as_string(slv2_plugin_get_uri(prev)), 
    565                                                         librdf_uri_as_string(plugin_uri)) < 0) { 
     564                                                        (const char*)librdf_uri_as_string(plugin_uri)) < 0) { 
    566565                                                plugin = slv2_plugin_new(world, uri, bundle_uri); 
    567566                                                raptor_sequence_push(world->plugins, plugin); 
     
    570569                                        } else if (strcmp( 
    571570                                                        slv2_value_as_string(slv2_plugin_get_uri(first)), 
    572                                                         librdf_uri_as_string(plugin_uri)) > 0) { 
     571                                                        (const char*)librdf_uri_as_string(plugin_uri)) > 0) { 
    573572                                                plugin = slv2_plugin_new(world, uri, bundle_uri); 
    574573                                                raptor_sequence_shift(world->plugins, plugin);