]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
Changes needed on Sun
authorhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Sep 2003 21:03:26 +0000 (21:03 +0000)
committerhristov <hristov@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 12 Sep 2003 21:03:26 +0000 (21:03 +0000)
RAW/AliRawEvent.cxx
RAW/AliRawReaderFile.h

index 589e76d5c5a2725e76bf49aa3fc4948e152f8bea..e8462c74da8733f4beee0bf9c7065a3312030216 100644 (file)
@@ -944,7 +944,7 @@ void AliRunDB::Update(AliStats *stats)
    fRunDB->cd();
 
    char sname[64];
-   char *s = strrchr(stats->GetFileName(), '/');
+   char *s = (char*)strrchr(stats->GetFileName(), '/');
    if (s) {
       s++;
       strcpy(sname, s);
index fea1b751702d58ed759c7e12ad7f79963b54b8a3..e261ed7a141e935dd431473798d9bf0d5fc7b693 100644 (file)
@@ -4,7 +4,11 @@
  * See cxx source for full Copyright notice                               */
 
 #include "AliRawReader.h"
+#ifdef __CINT__
+class fstream;
+#else
 #include <Riostream.h>
+#endif
 #include <TString.h>