Using large-file extension version of fopen.
[u/mrichter/AliRoot.git] / MONITOR / deroot.cxx
index f0835a0ea545ec88d69062a0d466c2fa12af4ff1..1772b46316951996803d86b6880c6b4536c5e6a6 100644 (file)
@@ -34,7 +34,7 @@ int deroot(const char *rootFileName, const char *dateFileName, const char *ddlFi
  t->SetBranchAddress("rawevent", &rootEvent);
 
  FILE *dateFile;
- if(!(dateFile=fopen(dateFileName, "wb"))) {
+ if(!(dateFile=fopen64(dateFileName, "wb"))) {
   cerr << "Error opening DATE file" << endl;
   return(1);
  }