svn commit: r261604 - head/contrib/libc++/include

Eitan Adler eadler at FreeBSD.org
Fri Feb 7 18:10:35 UTC 2014


Author: eadler
Date: Fri Feb  7 18:10:34 2014
New Revision: 261604
URL: http://svnweb.freebsd.org/changeset/base/261604

Log:
  HEAD is not buildable for the past day.  Commit a 'quick fix' in order to permit
  buildworld to complete.
  
  Reviewed by:	theraven

Modified:
  head/contrib/libc++/include/locale

Modified: head/contrib/libc++/include/locale
==============================================================================
--- head/contrib/libc++/include/locale	Fri Feb  7 16:28:40 2014	(r261603)
+++ head/contrib/libc++/include/locale	Fri Feb  7 18:10:34 2014	(r261604)
@@ -1012,7 +1012,7 @@ num_get<_CharT, _InputIterator>::__do_ge
     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_ge
     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_ge
     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(
     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());


More information about the svn-src-head mailing list