From 32c16a4e247729b0435202bca146647bf7c1d616 Mon Sep 17 00:00:00 2001 From: pixel Date: Mon, 17 Jul 2006 16:42:10 +0000 Subject: MAX != max... --- lib/isobuilder.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/isobuilder.cpp b/lib/isobuilder.cpp index 107fbe8..cf900d7 100644 --- a/lib/isobuilder.cpp +++ b/lib/isobuilder.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: isobuilder.cpp,v 1.19 2006-07-17 16:11:25 pixel Exp $ */ +/* $Id: isobuilder.cpp,v 1.20 2006-07-17 16:42:10 pixel Exp $ */ #include "isobuilder.h" @@ -181,10 +181,10 @@ int isobuilder::DirTree::maxlevel(int current_level) { m_level_b = brother->maxlevel(current_level); } - return max(current_level, max(m_level_c, m_level_b)); + return MAX(current_level, MAX(m_level_c, m_level_b)); } -int isobuilder::DirTree::buildpath(Byte * data, int size, bool bigendian) throw (GeneralException) { +int isobuilder::DirTree::buildpath(Byte * data, int size, bool bigendian) { int maxlv = maxlevel(), i, R, cumul = 0; for (i = 1; i < maxlv; i++) { -- cgit v1.2.3