<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to open PDF File - "Couldn't find trailer dictionary""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103469#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Unable to open PDF File - "Couldn't find trailer dictionary""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103469">bug 103469</a>
              from <span class="vcard"><a class="email" href="mailto:ajohnson@redneon.com" title="Adrian Johnson <ajohnson@redneon.com>"> <span class="fn">Adrian Johnson</span></a>
</span></b>
        <pre>I think it is safe to assume that gen numbers will always fit in an int. The
PDF spec says gen numbers must start at 0 and be incremented on each save so it
should not be possible to get > 32-bit gen numbers without the PDF file
becoming impracticably huge.

I suggest accept 8-byte fields but store it in an int and print an error if is
too big. I'm confident we will never see that error reported.

But if you really want to use a 64-bit:

-  int gen;
+  Goffset gen;

use long long. Goffset is for file offsets.</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>