Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9640b30d authored by Elliott Hughes's avatar Elliott Hughes
Browse files

Use %zd for size_t.

Change-Id: I0139243c309e85236eb00bb471736bdd99eeec84
parent b387a7f2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -579,7 +579,7 @@ static void peerProxyBeforeSelect(SelectableFd* fd) {

/** Prepare to read bytes from the peer. */
static void peerProxyExpectBytes(PeerProxy* peerProxy, Header* header) {
    ALOGD("Expecting %d bytes.", header->size);
    ALOGD("Expecting %zd bytes.", header->size);

    peerProxy->inputState = READING_BYTES;
    if (bufferPrepareForRead(peerProxy->inputBuffer, header->size) == -1) {