diff options
| author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-23 16:07:55 +0000 |
|---|---|---|
| committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-03-23 16:07:55 +0000 |
| commit | 81a334d46141b571489d00db53ea351234820444 (patch) | |
| tree | e1db78c5fd5bdc1b77bfdef2dde84f0304f70a1a | |
| parent | b627816c97a79b76587dcfd803585530dcfde34e (diff) | |
| download | ruby-81a334d46141b571489d00db53ea351234820444.tar.gz ruby-81a334d46141b571489d00db53ea351234820444.tar.xz ruby-81a334d46141b571489d00db53ea351234820444.zip | |
* util.c (push_element): avoid warning for djgpp.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 4 | ||||
| -rw-r--r-- | util.c | 3 |
2 files changed, 6 insertions, 1 deletions
@@ -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> * ext/extmk.rb.in: replace mkdir with mkpath to compile racc/cparse. @@ -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); |
