Revision: 9098 http://playerstage.svn.sourceforge.net/playerstage/?rev=9098&view=rev Author: jpgr87 Date: 2012-07-07 17:38:05 +0000 (Sat, 07 Jul 2012) Log Message: ----------- Fix bug #3541173: Readlog incompatible with zlib 1.2.6
Modified Paths: -------------- code/player/trunk/server/drivers/shell/readlog.cc Modified: code/player/trunk/server/drivers/shell/readlog.cc =================================================================== --- code/player/trunk/server/drivers/shell/readlog.cc 2012-06-06 23:36:35 UTC (rev 9097) +++ code/player/trunk/server/drivers/shell/readlog.cc 2012-07-07 17:38:05 UTC (rev 9098) @@ -672,7 +672,7 @@ // back up to the beginning of the file #if HAVE_Z if (this->gzfile) - ret = gzseek(this->file,0,SEEK_SET); + ret = gzseek((gzFile)this->file,0,SEEK_SET); else ret = fseek(this->file,0,SEEK_SET); #else @@ -718,7 +718,7 @@ // compared to fgets (on uncompressed files), so use the latter. #if HAVE_Z if (this->gzfile) - ret = (gzgets(this->file, this->line, this->line_size) == NULL); + ret = (gzgets((gzFile)this->file, this->line, this->line_size) == NULL); else ret = (fgets(this->line, this->line_size, (FILE*) this->file) == NULL); #else This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Playerstage-commit mailing list Playerstage-commit@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/playerstage-commit