summaryrefslogtreecommitdiff
path: root/ndb/include/util/File.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'ndb/include/util/File.hpp')
-rw-r--r--ndb/include/util/File.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/include/util/File.hpp b/ndb/include/util/File.hpp
index c62a9cdeac2..b9d348683ec 100644
--- a/ndb/include/util/File.hpp
+++ b/ndb/include/util/File.hpp
@@ -49,7 +49,7 @@ public:
* @param f a pointer to a FILE descriptor.
* @return the size of the file.
*/
- static long size(FILE* f);
+ static off_t size(FILE* f);
/**
* Renames a file.
@@ -181,7 +181,7 @@ public:
*
* @return the file size.
*/
- long size() const;
+ off_t size() const;
/**
* Returns the filename.