Looking at the Float.c and Double.c I couldn't help but wonder at these lines:

  char buf[1024];
  jstring retval;

  sprintf((char*)&buf, "%G", d);


Why is there a cast to char*, surely buf is a char* itself (not needing the & 
operator)?


What needs to be done to get this output conformant with what SUN's JVM prints out?

John Leuner
-- 

_______________________________________________
Classpath mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/classpath

Reply via email to