summaryrefslogtreecommitdiff
path: root/rubyio.h
diff options
context:
space:
mode:
Diffstat (limited to 'rubyio.h')
-rw-r--r--rubyio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/rubyio.h b/rubyio.h
index 00a5facf23..50acaca33a 100644
--- a/rubyio.h
+++ b/rubyio.h
@@ -24,7 +24,7 @@ typedef struct OpenFile {
int fd; /* file descriptor */
FILE *stdio_file; /* stdio ptr for read/write if available */
int mode; /* mode flags */
- int pid; /* child's pid (for pipes) */
+ rb_pid_t pid; /* child's pid (for pipes) */
int lineno; /* number of lines read */
char *path; /* pathname for file */
void (*finalize)(struct OpenFile*,int); /* finalize proc */