a problem compiling on HP-UX

From: Yongzhao Zhou (Yongzhao.Zhou@lnf.infn.it)
Date: Fri Jul 09 1999 - 16:48:07 MEST


all,
I got a problem when I compile a program on HP-UX B.10.20 machine. There
are some statements, such as 
     tree->SetEstimate(GetEntries());
in my codes. And the compiler always give me a warring:
     KRATES.cxx:16: warning: `double' used for argument 1 of
     `TTree::SetEstimate(int)'
It could be cause by difference of the date type because the variable
returned by function GetEntries() is Stat_t type and the variable used in
function SetEstimate(int) is Int_t type.
What I should do in my Makefile?
Please help me.
Thanks,
Yongzhao Zhou

------
Yongzhao Zhou, KLOE, LNF, INFN, Italy
Tel:39-06-94032696 Fax:39-06-94032427



This archive was generated by hypermail 2b29 : Tue Jan 04 2000 - 00:43:35 MET