diff options
author | Bill Stoddard <stoddard@apache.org> | 2000-06-19 17:45:15 +0000 |
---|---|---|
committer | Bill Stoddard <stoddard@apache.org> | 2000-06-19 17:45:15 +0000 |
commit | dc54cb6ad986677fadfc3e42e60a51a6b4bf8741 (patch) | |
tree | 724528a5bcfc82f5cb1c91a1cb04e586559a58a7 /file_io/win32/fileio.h | |
parent | 07e8d364f9af315e24d0df49bb1bbbe17c763fcc (diff) | |
download | apr-dc54cb6ad986677fadfc3e42e60a51a6b4bf8741.tar.gz |
Win32: Eliminate some warnings
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60227 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'file_io/win32/fileio.h')
-rw-r--r-- | file_io/win32/fileio.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/file_io/win32/fileio.h b/file_io/win32/fileio.h index 55d6847d6..35d60dc2b 100644 --- a/file_io/win32/fileio.h +++ b/file_io/win32/fileio.h @@ -106,8 +106,8 @@ struct ap_file_t { int eof_hit; int pipe; ap_interval_time_t timeout; - int buffered; /* Not currently used on Windows */ - int ungetchar; /* Not used. Last char provided by an unget op. (-1 = no char)*/ + int buffered; + int ungetchar; /* Last char provided by an unget op. (-1 = no char)*/ char *demonfname; char *lowerdemonfname; @@ -120,10 +120,10 @@ struct ap_file_t { /* Stuff for buffered mode */ char *buffer; - int bufpos; // Read/Write position in buffer - unsigned long dataRead; // amount of valid data read into buffer + ap_ssize_t bufpos; // Read/Write position in buffer + ap_ssize_t dataRead; // amount of valid data read into buffer int direction; // buffer being used for 0 = read, 1 = write - unsigned long filePtr; // position in file of handle + ap_ssize_t filePtr; // position in file of handle ap_lock_t *mutex; // mutex semaphore, must be owned to access the above fields }; |