summaryrefslogtreecommitdiffstats
path: root/queue.h
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-01-31 12:54:10 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-01-31 12:54:10 +0000
commit41fb70130f992f9d9ea848fa99778def76d95d05 (patch)
tree1f40ace013cf31fefe7f298f6f6d0d6529b11f64 /queue.h
parent260e2be5d69d9fe7ec3fd533430b9bd6effd55c0 (diff)
downloadrsyslog-41fb70130f992f9d9ea848fa99778def76d95d05.tar.gz
rsyslog-41fb70130f992f9d9ea848fa99778def76d95d05.tar.xz
rsyslog-41fb70130f992f9d9ea848fa99778def76d95d05.zip
bugfix: having fun with 32/64 bit portability - after 15 years, I finally
was trapped again ;) -- now fixed, sizes > 2GB supported on 32bit platforms
Diffstat (limited to 'queue.h')
-rw-r--r--queue.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/queue.h b/queue.h
index e75c26a1..4bd02b45 100644
--- a/queue.h
+++ b/queue.h
@@ -113,8 +113,8 @@ typedef struct queue_s {
uchar *pszFilePrefix;
size_t lenFilePrefix;
int iNumberFiles; /* how many files make up the queue? */
- size_t iMaxFileSize; /* max size for a single queue file */
- size_t sizeOnDiskMax; /* maximum size on disk allowed */
+ int64 iMaxFileSize; /* max size for a single queue file */
+ int64 sizeOnDiskMax; /* maximum size on disk allowed */
int bIsDA; /* is this queue disk assisted? */
int bRunsDA; /* is this queue actually *running* disk assisted? */
struct queue_s *pqDA; /* queue for disk-assisted modes */
@@ -137,8 +137,8 @@ typedef struct queue_s {
qLinkedList_t *pLast;
} linklist;
struct {
- size_t sizeOnDisk; /* current amount of disk space used */
- size_t bytesRead; /* number of bytes read from current (undeleted!) file */
+ int64 sizeOnDisk; /* current amount of disk space used */
+ int64 bytesRead; /* number of bytes read from current (undeleted!) file */
strm_t *pWrite; /* current file to be written */
strm_t *pRead; /* current file to be read */
} disk;