diff -urN src.orig/RooAbsReal.cxx src.new/RooAbsReal.cxx --- src.orig/RooAbsReal.cxx 2006-11-26 16:09:52.000000000 +0900 +++ src.new/RooAbsReal.cxx 2006-11-26 16:11:40.000000000 +0900 @@ -1769,7 +1769,7 @@ setAttribute("UNSIGNED_INTEGER_TREE_BRANCH",kTRUE) ; } - t.SetBranchAddress(cleanName,&_value) ; + t.SetBranchAddress(cleanName,(void*)&_value) ; if (branch->GetCompressionLevel()<0) { cout << "RooAbsReal::attachToTree(" << GetName() << ") Fixing compression level of branch " << cleanName << endl ; branch->SetCompressionLevel(1) ; diff -urN src.orig/RooRealVar.cxx src.new/RooRealVar.cxx --- src.orig/RooRealVar.cxx 2006-11-26 16:09:52.000000000 +0900 +++ src.new/RooRealVar.cxx 2006-11-26 16:12:48.000000000 +0900 @@ -722,7 +722,7 @@ errName.Append("_err") ; TBranch* branch = t.GetBranch(errName) ; if (branch) { - t.SetBranchAddress(errName,&_error) ; + t.SetBranchAddress(errName,(void*)&_error) ; } else { TString format(errName); format.Append("/D"); @@ -736,7 +736,7 @@ loName.Append("_aerr_lo") ; TBranch* lobranch = t.GetBranch(loName) ; if (lobranch) { - t.SetBranchAddress(loName,&_asymErrLo) ; + t.SetBranchAddress(loName,(void*)&_asymErrLo) ; } else { TString format(loName); format.Append("/D"); @@ -747,7 +747,7 @@ hiName.Append("_aerr_hi") ; TBranch* hibranch = t.GetBranch(hiName) ; if (hibranch) { - t.SetBranchAddress(hiName,&_asymErrHi) ; + t.SetBranchAddress(hiName,(void*)&_asymErrHi) ; } else { TString format(hiName); format.Append("/D");