From a8d0a2ff796a430220115edc138aa021a9b8dd66 Mon Sep 17 00:00:00 2001 From: Brian Cox Date: Tue, 29 Mar 2016 14:08:34 -0700 Subject: [PATCH] File offsets should be off_t, not int32, for large file support. Per OpenSuSE patch: https://build.opensuse.org/package/view_file/security/tripwire/tripwire-2.4.1.2-src.off_t.patch?expand-1 --- src/core/file.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/file.h b/src/core/file.h index a29d7d7..29f0630 100644 --- a/src/core/file.h +++ b/src/core/file.h @@ -73,7 +73,7 @@ class cFile { public: #if IS_UNIX - typedef int32 File_t; + typedef off_t File_t; #else //WIN32 typedef int64 File_t;