$NetBSD: patch-as,v 1.1 2011/01/29 22:16:51 markd Exp $ Fix build with gcc4.5 --- mobile/nakagami.cc.orig 2008-04-01 02:00:24.000000000 +0000 +++ mobile/nakagami.cc @@ -180,9 +180,9 @@ double Nakagami::Pr(PacketStamp *t, Pack double resultPower; if (int_m == m) { - resultPower = ErlangRandomVariable::ErlangRandomVariable(Pr/m, int_m).value(); + resultPower = ErlangRandomVariable(Pr/m, int_m).value(); } else { - resultPower = GammaRandomVariable::GammaRandomVariable(m, Pr/m).value(); + resultPower = GammaRandomVariable(m, Pr/m).value(); } return resultPower; }