summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-28 09:15:02 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-28 09:15:02 +0000
commit981ef046bdb9b39b38b84afc7ee9bf12b822aced (patch)
treeab5072bb514c1a829f7ffa9ce10dd4c9a9831fff /win32
parente07112e10d7e13d130bd8ed3e5c55ea43ff41f58 (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.c3
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);