X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=lib%2Fpdf%2FGFXOutputDev.cc;h=b450e546cb84c23a6a155da6088c07634697cfc2;hb=8a9392f5928b02b3c3e90c19816c76461264bc50;hp=59492715374bc9d315b1c5281001e8205a455ada;hpb=8aeee6106e6d04d3ced2afff12c238eb38254123;p=swftools.git diff --git a/lib/pdf/GFXOutputDev.cc b/lib/pdf/GFXOutputDev.cc index 5949271..b450e54 100644 --- 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++) { - printf("%08x ", states[t].state); + printf("%08x ", (unsigned int)states[t].state); } printf("\n"); } @@ -2046,8 +2046,6 @@ void GFXOutputDev::updateFont(GfxState *state) device->addfont(device, current_gfxfont); free(id); - device->addfont(device, current_gfxfont); - updateFontMatrix(state); }