summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2014-02-07 18:10:34 +0000
committereadler <eadler@FreeBSD.org>2014-02-07 18:10:34 +0000
commit5257c486eb767b058c555511cf978d3bd32f44ba (patch)
treef3a85b5634c062d17ef212852d01066e79b68133
parent887b6c3f59b328928e765340352694c3464bb372 (diff)
downloadFreeBSD-src-5257c486eb767b058c555511cf978d3bd32f44ba.zip
FreeBSD-src-5257c486eb767b058c555511cf978d3bd32f44ba.tar.gz
HEAD is not buildable for the past day. Commit a 'quick fix' in order to permit
buildworld to complete. Reviewed by: theraven
-rw-r--r--contrib/libc++/include/locale8
1 files changed, 4 insertions, 4 deletions
diff --git a/contrib/libc++/include/locale b/contrib/libc++/include/locale
index ac3ae7e..55c14a6 100644
--- a/contrib/libc++/include/locale
+++ b/contrib/libc++/include/locale
@@ -1012,7 +1012,7 @@ num_get<_CharT, _InputIterator>::__do_get_signed(iter_type __b, iter_type __e,
unsigned __dc = 0;
for (; __b != __e; ++__b)
{
- if (__a_end - __a == __buf.size())
+ if (__a_end - __a == (long)__buf.size())
{
size_t __tmp = __buf.size();
__buf.resize(2*__buf.size());
@@ -1062,7 +1062,7 @@ num_get<_CharT, _InputIterator>::__do_get_unsigned(iter_type __b, iter_type __e,
unsigned __dc = 0;
for (; __b != __e; ++__b)
{
- if (__a_end - __a == __buf.size())
+ if (__a_end - __a == (long)__buf.size())
{
size_t __tmp = __buf.size();
__buf.resize(2*__buf.size());
@@ -1116,7 +1116,7 @@ num_get<_CharT, _InputIterator>::__do_get_floating_point(iter_type __b, iter_typ
char __exp = 'E';
for (; __b != __e; ++__b)
{
- if (__a_end - __a == __buf.size())
+ if (__a_end - __a == (long)__buf.size())
{
size_t __tmp = __buf.size();
__buf.resize(2*__buf.size());
@@ -1166,7 +1166,7 @@ num_get<_CharT, _InputIterator>::do_get(iter_type __b, iter_type __e,
unsigned __dc = 0;
for (; __b != __e; ++__b)
{
- if (__a_end - __a == __buf.size())
+ if (__a_end - __a == (long)__buf.size())
{
size_t __tmp = __buf.size();
__buf.resize(2*__buf.size());
OpenPOWER on IntegriCloud