git.asbjorn.biz
/
swftools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fixed format warnings
[swftools.git]
/
lib
/
pdf
/
GFXOutputDev.cc
diff --git
a/lib/pdf/GFXOutputDev.cc
b/lib/pdf/GFXOutputDev.cc
index
5949271
..
b450e54
100644
(file)
--- a/
lib/pdf/GFXOutputDev.cc
+++ b/
lib/pdf/GFXOutputDev.cc
@@
-1917,7
+1917,7
@@
void GFXOutputDev::restoreState(GfxState *state) {
if(verbose) {
int t;
for(t=0;t<=statepos;t++) {
if(verbose) {
int t;
for(t=0;t<=statepos;t++) {
- printf("%08x ", states[t].state);
+ printf("%08x ", (unsigned int)states[t].state);
}
printf("\n");
}
}
printf("\n");
}
@@
-2046,8
+2046,6
@@
void GFXOutputDev::updateFont(GfxState *state)
device->addfont(device, current_gfxfont);
free(id);
device->addfont(device, current_gfxfont);
free(id);
- device->addfont(device, current_gfxfont);
-
updateFontMatrix(state);
}
updateFontMatrix(state);
}