* 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
This commit is contained in:
parent
258725716b
commit
5efa6b2e48
@ -1,3 +1,7 @@
|
|||||||
|
Sun Mar 24 00:46:05 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||||
|
|
||||||
|
* util.c (push_element): avoid warning for djgpp.
|
||||||
|
|
||||||
Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net>
|
Fri Mar 22 16:46:54 2002 Minero Aoki <aamine@loveruby.net>
|
||||||
|
|
||||||
* ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
|
* ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse.
|
||||||
|
3
util.c
3
util.c
@ -316,9 +316,10 @@ struct PathInfo {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static void
|
static void
|
||||||
push_element(char *path, struct PathInfo *info)
|
push_element(const char *path, VALUE vinfo)
|
||||||
{
|
{
|
||||||
struct PathList *p;
|
struct PathList *p;
|
||||||
|
struct PathInfo *info = (struct PathInfo *)vinfo;
|
||||||
|
|
||||||
p = ALLOC(struct PathList);
|
p = ALLOC(struct PathList);
|
||||||
MEMZERO(p, struct PathList, 1);
|
MEMZERO(p, struct PathList, 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user