Changeset e5bc912 in mainline for uspace/srv/audio/hound/iface.c


Ignore:
Timestamp:
2013-08-16T15:16:21Z (11 years ago)
Author:
Jan Vesely <jano.vesely@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac8b096
Parents:
537620a8
Message:

Fix printf compile issues

File:
1 edited

Legend:

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

    r537620a8 re5bc912  
    3737#include <errno.h>
    3838#include <hound/protocol.h>
     39#include <inttypes.h>
    3940#include <malloc.h>
    4041
     
    7374                return ret;
    7475        hound_ctx_destroy(ctx);
    75         log_info("%s: %p, %#x", __FUNCTION__, server, id);
     76        log_info("%s: %p, %#" PRIxn, __FUNCTION__, server, id);
    7677        return EOK;
    7778}
     
    116117        assert(server);
    117118
    118         log_verbose("%s: %p, %d %x ch:%u r:%u f:%s", __FUNCTION__, server, id,
    119             flags, format.channels, format.sampling_rate,
     119        log_verbose("%s: %p, %" PRIxn " %x ch:%u r:%u f:%s", __FUNCTION__,
     120            server, id, flags, format.channels, format.sampling_rate,
    120121            pcm_sample_format_str(format.sample_format));
    121122        hound_ctx_t *ctx = hound_get_ctx_by_id(server, id);
Note: See TracChangeset for help on using the changeset viewer.