summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-04 18:42:27 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-03-04 18:42:27 +0100
commit45abad2c9ca6c51880f26d29652efdfdd9b12670 (patch)
treecb276bcb893056e0e5c02d88360c9d13994ee610 /src
parent365b6bf765a25e6cab087491fd2a5416499256ef (diff)
fix printf() format warnings (reported by Kapil Hari Paranjape)
Diffstat (limited to 'src')
-rw-r--r--src/PostscriptDSC.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PostscriptDSC.cxx b/src/PostscriptDSC.cxx
index 6f11164..0aef399 100644
--- a/src/PostscriptDSC.cxx
+++ b/src/PostscriptDSC.cxx
@@ -190,9 +190,9 @@ PostscriptDSC::print() {
int i;
printf("x %d, y %d, w %d, h %d\n", bb_x, bb_y, bb_w, bb_h);
- printf("setup_len %d\n", setup_len);
+ printf("setup_len %zu\n", setup_len);
for (i=0; i<pages; i++) {
- printf("p %d, off %d, len %d\n", i, page_off[i], page_len[i]);
+ printf("p %d, off %zu, len %zu\n", i, page_off[i], page_len[i]);
}
}