Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

KO - fix missing casts from void* to gzFile

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...
commit a6c584e8e04705160bb8761b570a61f65c302290 1 parent 9521dba
olchanski authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/mlogger.cxx
View
4 src/mlogger.cxx
@@ -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;
Please sign in to comment.
Something went wrong with that request. Please try again.