Fix some warnings with examples.

This commit is contained in:
David Reid
2025-02-17 16:01:19 +10:00
parent 47aa3e34e0
commit de5f370d09
5 changed files with 8 additions and 4 deletions
+1 -1
View File
@@ -266,7 +266,7 @@ int main(int argc, char** argv)
ma_thread_create(&jobThread, ma_thread_priority_default, 0, custom_job_thread, &resourceManager, NULL);
/* Create each data source from the resource manager. Note that the caller is the owner. */
for (iFile = 0; iFile < ma_countof(g_dataSources) && iFile < argc-1; iFile += 1) {
for (iFile = 0; iFile < (int)ma_countof(g_dataSources) && iFile < argc-1; iFile += 1) {
result = ma_resource_manager_data_source_init(
&resourceManager,
argv[iFile+1],