I fixed two functions in target_generic_network.c so that their
signatures match the declarations in the corresponding .h file.
2006-01-17 Roman Kennke <[EMAIL PROTECTED]>
* native/target/generic/target_generic_network.c:
(targetGenericNetwork_receive): Fixed signature to match the
corresponding .h file.
(targetGenericNetwork_receiveWithAddressPort): Fixed signature
to match the corresponding .h file.
/Roman
Index: native/target/generic/target_generic_network.c
===================================================================
RCS file: /cvsroot/classpath/classpath/native/target/generic/target_generic_network.c,v
retrieving revision 1.3
diff -u -r1.3 target_generic_network.c
--- native/target/generic/target_generic_network.c 16 Jan 2006 15:56:12 -0000 1.3
+++ native/target/generic/target_generic_network.c 17 Jan 2006 13:57:27 -0000
@@ -412,7 +412,8 @@
#include <sys/select.h>
#endif
#include <sys/time.h>
-int targetGenericNetwork_receive(int socketDescriptor, char *buffer, unsigned long maxLength)
+int targetGenericNetwork_receive(int socketDescriptor, signed char *buffer,
+ unsigned long maxLength)
{
#ifdef HAVE_SELECT
TsocketTimeout *socketTimeout;
@@ -463,7 +464,11 @@
#include <sys/select.h>
#endif
#include <sys/time.h>
-int targetGenericNetwork_receiveWithAddressPort(int socketDescriptor, char *buffer, unsigned long maxLength, unsigned long *address, unsigned int *port)
+int targetGenericNetwork_receiveWithAddressPort(int socketDescriptor,
+ signed char *buffer,
+ unsigned long maxLength,
+ unsigned long *address,
+ unsigned int *port)
{
#ifdef HAVE_SELECT
TsocketTimeout *socketTimeout;
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches