From: Pierre-Marc Fournier Date: Mon, 15 Jun 2009 17:15:50 +0000 (-0400) Subject: fix warnings X-Git-Tag: v0.1~194 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=211c34d255c481b47faf1362475ee12dcbafa255;p=ust.git fix warnings --- diff --git a/ustd/lowlevel.c b/ustd/lowlevel.c index ff38759..7d3fed9 100644 --- a/ustd/lowlevel.c +++ b/ustd/lowlevel.c @@ -29,8 +29,8 @@ void finish_consuming_dead_subbuffer(struct buffer_info *buf) * last place written. */ long last_subbuf = (write_offset - 1) / buf->subbuf_size; - DBG("first_subbuf=%d", first_subbuf); - DBG("last_subbuf=%d", last_subbuf); + DBG("first_subbuf=%ld", first_subbuf); + DBG("last_subbuf=%ld", last_subbuf); if(last_subbuf - first_subbuf >= buf->n_subbufs) { DBG("an overflow has occurred, nothing can be recovered");