harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r516421 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
Date Fri, 09 Mar 2007 14:45:04 GMT
Author: gshimansky
Date: Fri Mar  9 06:45:03 2007
New Revision: 516421

URL: http://svn.apache.org/viewvc?view=rev&rev=516421
Log:
Applied HARMONY-3346 [drlvm][winx64][build] Warning was introduced into classloader.cpp


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp?view=diff&rev=516421&r1=516420&r2=516421
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp Fri Mar  9 06:45:03
2007
@@ -239,7 +239,7 @@
     }
     if (LookupClass(className) != NULL) {
         static const char* mess_templ = "Illegal attempt to redefine class : %s";
-        unsigned mess_size = strlen(mess_templ) + className->len + 1;
+        size_t mess_size = strlen(mess_templ) + className->len + 1;
         char* err_mess = (char*)STD_ALLOCA(mess_size);
         sprintf(err_mess, mess_templ, className->bytes);
         exn_raise_by_name("java/lang/LinkageError", err_mess);



Mime
View raw message