Changeset e5bc912 in mainline for uspace/app/wavplay/dplay.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/app/wavplay/dplay.c

    r537620a8 re5bc912  
    4343#include <sys/mman.h>
    4444#include <sys/time.h>
     45#include <inttypes.h>
    4546
    4647#include <stdio.h>
     
    104105                case PCM_EVENT_PLAYBACK_STARTED:
    105106                case PCM_EVENT_FRAMES_PLAYED:
    106                         printf("%u frames: ", IPC_GET_ARG1(call));
     107                        printf("%" PRIun " frames: ", IPC_GET_ARG1(call));
    107108                        async_answer_0(callid, EOK);
    108109                        break;
     
    116117                        return;
    117118                default:
    118                         printf("Unknown event %d.\n", IPC_GET_IMETHOD(call));
     119                        printf("Unknown event %" PRIun ".\n", IPC_GET_IMETHOD(call));
    119120                        async_answer_0(callid, ENOTSUP);
    120121                        continue;
Note: See TracChangeset for help on using the changeset viewer.