From 0fee73977ce6456f19c6d25d589e8474b7322f91 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Wed, 13 Jul 2005 15:39:56 +0000 Subject: [PATCH] Fix max [SVN r30051] --- utf8_codecvt_facet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utf8_codecvt_facet.cpp b/utf8_codecvt_facet.cpp index f485d82..f271cdb 100644 --- a/utf8_codecvt_facet.cpp +++ b/utf8_codecvt_facet.cpp @@ -123,7 +123,7 @@ std::codecvt_base::result utf8_codecvt_facet::do_out( 0x00, 0xc0, 0xe0, 0xf0, 0xf8, 0xfc }; - wchar_t max_wchar = std::numeric_limits::max(); + wchar_t max_wchar = (std::numeric_limits::max)(); while (from != from_end && to != to_end) { // Check for invalid UCS-4 character