Browse Source

* Patch from Ondrej Pokorny, fixing range error

git-svn-id: trunk@35519 -
michael 8 years ago
parent
commit
d2a1e8f9de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/fcl-pdf/src/fpttfsubsetter.pp

+ 1 - 1
packages/fcl-pdf/src/fpttfsubsetter.pp

@@ -1092,7 +1092,7 @@ begin
 
   // update head.ChecksumAdjustment field
   head.Seek(8, soBeginning);
-  WriteInt32(head, checksum);
+  WriteInt32(head, Int32(checksum));
 
   // write table bodies
   WriteTableBodies(AStream, tables);