Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/audio/hound/hound.c

    rfeeac0d r8a637a4  
    267267                if (dev->id == id) {
    268268                        log_debug("Device with id %zu is already present", id);
    269                         return EEXISTS;
     269                        return EEXIST;
    270270                }
    271271        }
     
    274274        if (dev) {
    275275                log_debug("Device with name %s is already present", name);
    276                 return EEXISTS;
     276                return EEXIST;
    277277        }
    278278
     
    341341                log_debug("Source by that name already exists");
    342342                fibril_mutex_unlock(&hound->list_guard);
    343                 return EEXISTS;
     343                return EEXIST;
    344344        }
    345345        list_append(&source->link, &hound->sources);
     
    365365                log_debug("Sink by that name already exists");
    366366                fibril_mutex_unlock(&hound->list_guard);
    367                 return EEXISTS;
     367                return EEXIST;
    368368        }
    369369        list_append(&sink->link, &hound->sinks);
     
    420420
    421421        fibril_mutex_lock(&hound->list_guard);
    422         const size_t count = list_count(&hound->sources);
     422        const unsigned long count = list_count(&hound->sources);
    423423        if (count == 0) {
    424424                *list = NULL;
     
    429429        const char **names = calloc(count, sizeof(char *));
    430430        int ret = names ? EOK : ENOMEM;
    431         for (size_t i = 0; i < count && ret == EOK; ++i) {
     431        for (unsigned long i = 0; i < count && ret == EOK; ++i) {
    432432                link_t *slink = list_nth(&hound->sources, i);
    433433                audio_source_t *source = audio_source_list_instance(slink);
Note: See TracChangeset for help on using the changeset viewer.