1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* util.c (push_element): avoid warning for djgpp.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2002-04-24 12:06:57 +00:00
parent 9a9784015c
commit e07112e10d
2 changed files with 4 additions and 1 deletions

3
util.c
View file

@ -323,9 +323,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);