commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jfcl...@apache.org
Subject svn commit: r164542 - /jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
Date Mon, 25 Apr 2005 07:08:54 GMT
Author: jfclere
Date: Mon Apr 25 00:08:53 2005
New Revision: 164542

URL: http://svn.apache.org/viewcvs?rev=164542&view=rev
Log:
Arrange warnings in Solaris8.

Modified:
    jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c

Modified: jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c?rev=164542&r1=164541&r2=164542&view=diff
==============================================================================
--- jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c (original)
+++ jakarta/commons/proper/daemon/trunk/src/native/unix/native/jsvc-unix.c Mon Apr 25 00:08:53
2005
@@ -345,7 +345,7 @@
 static void create_tmp_file(arg_data *args) {
     char buff[80];
     int fd;
-    sprintf(buff,"/tmp/%d.jsvc_up", getpid());
+    sprintf(buff,"/tmp/%d.jsvc_up", (int) getpid());
     log_debug("create_tmp_file: %s", buff);
     fd = open(buff, O_RDWR|O_CREAT,S_IRUSR|S_IWUSR);
     if (fd<0)
@@ -354,7 +354,7 @@
 }
 static void remove_tmp_file(arg_data *args) {
     char buff[80];
-    sprintf(buff,"/tmp/%d.jsvc_up", getpid());
+    sprintf(buff,"/tmp/%d.jsvc_up", (int) getpid());
     log_debug("remove_tmp_file: %s", buff);
     unlink(buff);
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message