harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r672369 - /harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Date Fri, 27 Jun 2008 19:54:50 GMT
Author: hindessm
Date: Fri Jun 27 12:54:50 2008
New Revision: 672369

URL: http://svn.apache.org/viewvc?rev=672369&view=rev
Log:
Trivial compiler warning fix.

Modified:
    harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c

Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c?rev=672369&r1=672368&r2=672369&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c Fri
Jun 27 12:54:50 2008
@@ -1571,7 +1571,7 @@
   if (descriptor == 0)
     {
       /* hytty_get_chars() returns zero on EOF */
-      if ((result = hytty_get_chars (buf, count)) == 0)
+      if ((result = hytty_get_chars ((char*)buf, count)) == 0)
         result = -1;
     }
   else



Mime
View raw message