fix warnings
authorPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 15 Jun 2009 17:15:50 +0000 (13:15 -0400)
committerPierre-Marc Fournier <pierre-marc.fournier@polymtl.ca>
Mon, 15 Jun 2009 17:15:50 +0000 (13:15 -0400)
ustd/lowlevel.c

index ff3875931a36c464c345c7c2a8823ee94e61f11d..7d3fed9e6c2d327b89b43fa4decde7326289d1f3 100644 (file)
@@ -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");
This page took 0.026154 seconds and 4 git commands to generate.