Changeset be12474 in mainline for uspace/srv/audio/hound/hound.c
- Timestamp:
- 2015-08-30T14:52:08Z (9 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cb0ca35
- Parents:
- df13836
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/audio/hound/hound.c
rdf13836 rbe12474 420 420 421 421 fibril_mutex_lock(&hound->list_guard); 422 const size_tcount = list_count(&hound->sources);422 const unsigned long count = list_count(&hound->sources); 423 423 if (count == 0) { 424 424 *list = NULL; … … 429 429 const char **names = calloc(count, sizeof(char *)); 430 430 int ret = names ? EOK : ENOMEM; 431 for ( size_ti = 0; i < count && ret == EOK; ++i) {431 for (unsigned long i = 0; i < count && ret == EOK; ++i) { 432 432 link_t *slink = list_nth(&hound->sources, i); 433 433 audio_source_t *source = audio_source_list_instance(slink);
Note:
See TracChangeset
for help on using the changeset viewer.