summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpixel <pixel>2006-07-17 16:42:10 +0000
committerpixel <pixel>2006-07-17 16:42:10 +0000
commit32c16a4e247729b0435202bca146647bf7c1d616 (patch)
tree6fd5b143b7f582c2d9db4de61303c631ca610c49
parent9344bc8b92273a869b509a33a28bd6e5ebfedaf6 (diff)
MAX != max...
-rw-r--r--lib/isobuilder.cpp6
1 files changed, 3 insertions, 3 deletions
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++) {