On Wed, Sep 24, 2014 at 7:27 PM, Mauro Carvalho Chehab <mchehab at osg.samsung.com> wrote: > - mfc_debug(2, "buf_size1: %d, buf_size2: %d\n", buf_size1, buf_size2); > + mfc_debug(2, "buf_size1: %zd, buf_size2: %zd\n", buf_size1, buf_size2); This should be %zu. Same for other %zd ocurrences.