--- ./Amaya/amaya/html2thot.c.orig 2012-04-08 12:27:15.000000000 -0700
+++ ./Amaya/amaya/html2thot.c 2012-04-08 12:56:06.000000000 -0700
@@ -4349,7 +4349,7 @@ void GetNextHTMLbuffer (FILE *infile, Th
WorkBuffer = FileBuffer;
}
// need to read a new set of characters
- LastCharInWorkBuffer = gzread (infile, &FileBuffer[StartOfRead],
+ LastCharInWorkBuffer = gzread ((gzFile)infile, &FileBuffer[StartOfRead],
INPUT_FILE_BUFFER_SIZE - StartOfRead);
// add previous read characters not managed yet
LastCharInWorkBuffer += StartOfRead;
--- ./Amaya/amaya/Xml2thot.c.orig 2012-04-08 12:59:20.000000000 -0700
+++ ./Amaya/amaya/Xml2thot.c 2012-04-08 12:59:49.000000000 -0700
@@ -5847,7 +5847,7 @@ static void XmlParse (FILE *infile, CH
while (!endOfFile && !XMLNotWellFormed && !XMLInvalidToken)
{
/* read the XML file */
- res = gzread (infile, bufferRead, COPY_BUFFER_SIZE);
+ res = gzread ((gzFile)infile, bufferRead, COPY_BUFFER_SIZE);
if (res < 0)
return;