summaryrefslogtreecommitdiff
path: root/win32/dir.h
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 04:16:56 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-03-11 04:16:56 +0000
commitbf065f2e2e7e596d9c415cfa4eecce5a406011c9 (patch)
tree33fbf054657bc94788fe4f23f690317b8f03b047 /win32/dir.h
parentf5315680aabcca7f29eb8e893953c26dca0042f8 (diff)
* win32/win32.c (rb_w32_telldir, rb_w32_seekdir): should use long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22885 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/dir.h')
-rw-r--r--win32/dir.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/dir.h b/win32/dir.h
index 3c7ec8d..a728b40 100644
--- a/win32/dir.h
+++ b/win32/dir.h
@@ -30,8 +30,8 @@ typedef struct {
DIR* rb_w32_opendir(const char*);
struct direct* rb_w32_readdir(DIR *);
struct direct* rb_w32_readdir_with_enc(DIR *, rb_encoding *);
-off_t rb_w32_telldir(DIR *);
-void rb_w32_seekdir(DIR *, off_t);
+long rb_w32_telldir(DIR *);
+void rb_w32_seekdir(DIR *, long);
void rb_w32_rewinddir(DIR *);
void rb_w32_closedir(DIR *);