Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 165280 | Differences between
and this patch

Collapse All | Expand All

(-)./Amaya/amaya/html2thot.c.orig (-1 / +1 lines)
Lines 4349-4355 void GetNextHTMLbuffer (FILE *infile, Th Link Here
4349
      WorkBuffer = FileBuffer;
4349
      WorkBuffer = FileBuffer;
4350
    }
4350
    }
4351
  // need to read a new set of characters
4351
  // need to read a new set of characters
4352
  LastCharInWorkBuffer = gzread (infile, &FileBuffer[StartOfRead],
4352
  LastCharInWorkBuffer = gzread ((gzFile)infile, &FileBuffer[StartOfRead],
4353
                                 INPUT_FILE_BUFFER_SIZE - StartOfRead);
4353
                                 INPUT_FILE_BUFFER_SIZE - StartOfRead);
4354
  // add previous read characters not managed yet
4354
  // add previous read characters not managed yet
4355
  LastCharInWorkBuffer += StartOfRead;
4355
  LastCharInWorkBuffer += StartOfRead;
(-)./Amaya/amaya/Xml2thot.c.orig (-1 / +1 lines)
Lines 5847-5853 static void XmlParse (FILE *infile, CH Link Here
5847
  while (!endOfFile && !XMLNotWellFormed && !XMLInvalidToken)
5847
  while (!endOfFile && !XMLNotWellFormed && !XMLInvalidToken)
5848
    {
5848
    {
5849
      /* read the XML file */
5849
      /* read the XML file */
5850
      res = gzread (infile, bufferRead, COPY_BUFFER_SIZE);
5850
      res = gzread ((gzFile)infile, bufferRead, COPY_BUFFER_SIZE);
5851
      if (res < 0)
5851
      if (res < 0)
5852
        return;
5852
        return;
5853
5853

Return to bug 165280