bjh 01/01/28 00:29:55
Modified: file_io/os2 open.c
Log:
Yeah, it was right, but this gets rid of some compiler warnings too as OS/2's
native fd type is an unsigned long.
Revision Changes Path
1.38 +2 -2 apr/file_io/os2/open.c
Index: open.c
===================================================================
RCS file: /home/cvs/apr/file_io/os2/open.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- open.c 2001/01/27 17:57:02 1.37
+++ open.c 2001/01/28 08:29:54 1.38
@@ -246,7 +246,7 @@
apr_status_t apr_open_stderr(apr_file_t **thefile, apr_pool_t *cont)
{
- int fd = 2;
+ apr_os_file_t fd = 2;
return apr_put_os_file(thefile, &fd, cont);
}
@@ -255,7 +255,7 @@
apr_status_t apr_open_stdout(apr_file_t **thefile, apr_pool_t *cont)
{
- int fd = 1; /* Is this correct? */
+ apr_os_file_t fd = 1;
return apr_put_os_file(thefile, &fd, cont);
}