Skip to content

Commit

Permalink
KO - fix missing casts from void* to gzFile
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://savannah.psi.ch/afs/psi.ch/project/meg/svn/midas/trunk@5286 050218f5-8902-0410-8d0e-8a15d521e4f2
  • Loading branch information
olchanski committed Apr 25, 2012
1 parent 9521dba commit a6c584e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mlogger.cxx
Expand Up @@ -1252,9 +1252,9 @@ INT midas_log_close(LOG_CHN * log_chn, INT run_number)

s = (z_streamp) log_chn->gzfile;
written = s->total_out;
gzflush(log_chn->gzfile, Z_FULL_FLUSH);
gzflush((gzFile) log_chn->gzfile, Z_FULL_FLUSH);
written = s->total_out - written;
gzclose(log_chn->gzfile);
gzclose((gzFile) log_chn->gzfile);
log_chn->statistics.bytes_written += written;
log_chn->statistics.bytes_written_total += written;
log_chn->gzfile = NULL;
Expand Down

0 comments on commit a6c584e

Please sign in to comment.