Fixed another type mismatch

git-svn-id: http://svn.drobilla.net/lad@104 a436a847-0d15-0410-975c-d299462d15a1
This commit is contained in:
dave 2006-07-26 18:10:09 +00:00
parent f5f7a033b8
commit c587ccc926
2 changed files with 3 additions and 4 deletions

View File

@ -73,7 +73,6 @@ create_port(SLV2Plugin* plugin,
create_control_output(port_index);
break;
case SLV2_AUDIO_RATE_INPUT:
create_audio_input(port_index);
break;
case SLV2_AUDIO_RATE_OUTPUT:
@ -138,9 +137,9 @@ main()
const char* property = "a";
prop = slv2_port_get_property(p, i, property);
if (prop)
printf("Port %ld %s = %s\n", i, property, prop->values[0]);
printf("Port %u %s = %s\n", i, property, prop->values[0]);
else
printf("No port %ld %s.\n", i, property);
printf("No port %u %s.\n", i, property);
free(prop);
}
printf("\n");

View File

@ -146,7 +146,7 @@ slv2_list_get_plugin_by_uri(const SLV2List list,
*/
const SLV2Plugin*
slv2_list_get_plugin_by_index(const SLV2List list,
unsigned long index);
size_t index);
/** @} */