diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-28 09:15:02 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-04-28 09:15:02 +0000 |
commit | 981ef046bdb9b39b38b84afc7ee9bf12b822aced (patch) | |
tree | ab5072bb514c1a829f7ffa9ce10dd4c9a9831fff /win32 | |
parent | e07112e10d7e13d130bd8ed3e5c55ea43ff41f58 (diff) |
* win32/win32.c (insert): fix prototype for ANSI C.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32')
-rw-r--r-- | win32/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/win32.c b/win32/win32.c index eb04b64f30..3efc051248 100644 --- a/win32/win32.c +++ b/win32/win32.c @@ -924,9 +924,10 @@ typedef struct { } ListInfo; static void -insert(char *path, ListInfo *listinfo) +insert(const char *path, VALUE vinfo) { NtCmdLineElement *tmpcurr; + ListInfo *listinfo = (ListInfo *)vinfo; tmpcurr = ALLOC(NtCmdLineElement); MEMZERO(tmpcurr, NtCmdLineElement, 1); |