diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-10 12:18:16 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2005-02-10 12:18:16 +0000 |
commit | 6ef3fe63497fb57a1550517d441d712d6300e5df (patch) | |
tree | 6535ac80b3adcfd10ed061a62388974860b0cc73 /win32 | |
parent | a32bc08d36360adf59806908ebe790ff03f689a2 (diff) | |
download | ruby-6ef3fe63497fb57a1550517d441d712d6300e5df.tar.gz |
* win32/win32.c (rb_w32_fdopen): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index ea379c754a..31b0eb07aa 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -3656,7 +3656,7 @@ rb_w32_fopen(const char *path, const char *mode) FILE * rb_w32_fdopen(int handle, const char *type) { - FILE *f = (errno = 0, _fdopen(handle, type)); + FILE *f = (errno = 0, _fdopen(handle, (char *)type)); if (f == NULL && errno == 0) { if (handle < 0) errno = EBADF; |