summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-23 16:07:55 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-23 16:07:55 +0000
commit5efa6b2e48907328cea7d6713db116d01a7b8aef (patch)
treee1db78c5fd5bdc1b77bfdef2dde84f0304f70a1a /util.c
parent258725716b9cd0ce6188bebc3b6ddbab75670728 (diff)
* util.c (push_element): avoid warning for djgpp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 512b00b47a..feb7004d52 100644
--- a/util.c
+++ b/util.c
@@ -316,9 +316,10 @@ struct PathInfo {
};
static void
-push_element(char *path, struct PathInfo *info)
+push_element(const char *path, VALUE vinfo)
{
struct PathList *p;
+ struct PathInfo *info = (struct PathInfo *)vinfo;
p = ALLOC(struct PathList);
MEMZERO(p, struct PathList, 1);