[kaffe] CVS kaffe (dalibor): Small compiler warning fix on parisc-hpux

Kaffe CVS cvs-commits at kaffe.org
Thu Sep 25 09:39:02 PDT 2003


PatchSet 4066 
Date: 2003/09/25 16:29:38
Author: dalibor
Branch: HEAD
Tag: (none) 
Log:
Small compiler warning fix on parisc-hpux

Members: 
	ChangeLog:1.1661->1.1662 
	libraries/clib/io/FileDescriptor.c:1.7->1.8 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1661 kaffe/ChangeLog:1.1662
--- kaffe/ChangeLog:1.1661	Thu Sep 25 15:18:09 2003
+++ kaffe/ChangeLog	Thu Sep 25 16:29:38 2003
@@ -1,5 +1,11 @@
 2003-09-25  Dalibor Topic <robilad at kaffe.org>
 
+	* libraries/clib/io/FileDescriptor.c
+	(java_io_FileDescriptor_nativeSetLength) Changed type of ret to
+	ssize_t to fix compiler warning with gcc 3.3.1 on parisc-hpux.
+
+2003-09-25  Dalibor Topic <robilad at kaffe.org>
+
 	* config/parisc/hpux/md.c, 
 	config/parisc/linux/md.c:
 	Changed multi-line string literals into single line
Index: kaffe/libraries/clib/io/FileDescriptor.c
diff -u kaffe/libraries/clib/io/FileDescriptor.c:1.7 kaffe/libraries/clib/io/FileDescriptor.c:1.8
--- kaffe/libraries/clib/io/FileDescriptor.c:1.7	Tue Sep  2 17:53:09 2003
+++ kaffe/libraries/clib/io/FileDescriptor.c	Thu Sep 25 16:29:40 2003
@@ -399,7 +399,7 @@
     off_t cur;
     off_t oldPosition;
     char data = 0;
-    int ret;
+    ssize_t ret;
 
     /* Save the old file position */
     rc = KLSEEK(nativeFd, SEEK_CUR, 0, &oldPosition);




More information about the kaffe mailing list