X-Git-Url: https://vaikene.ee/gitweb/pswgen11.html?a=blobdiff_plain;ds=sidebyside;f=src%2Flibs%2FCommon%2Finifile_p.h;h=e886bb342ec22d946faabeb44065b2159ae58d4b;hb=refs%2Fheads%2Fmaster;hp=07ac793cdc8347ccc72c446c6cc0f54c767aecc9;hpb=de270ece1b764b19968e14420f538321f1c06b15;p=evaf
diff --git a/src/libs/Common/inifile_p.h b/src/libs/Common/inifile_p.h
index 07ac793..e886bb3 100644
--- a/src/libs/Common/inifile_p.h
+++ b/src/libs/Common/inifile_p.h
@@ -40,7 +40,7 @@ class IniFileValue : public QSharedData
{
public:
- IniFileValue(quint64 pos)
+ IniFileValue(qint64 pos)
: QSharedData()
, filePos(pos)
, thisOsOnly(false)
@@ -52,7 +52,7 @@ public:
* Offset of the parameter in the INI file. By seeking the file to this offset value,
* the next character read or written will be the beginning of the key name.
*/
- quint64 filePos;
+ qint64 filePos;
/**
* Key name of the parameter
@@ -82,7 +82,7 @@ class IniFileSection : public QSharedData
{
public:
- IniFileSection(quint64 pos)
+ IniFileSection(qint64 pos)
: QSharedData()
, filePos(pos)
{}
@@ -93,7 +93,7 @@ public:
* Offset of the section in the INI file. By seeking the file to this offset value,
* the next character read or written will be the first character of the section.
*/
- quint64 filePos;
+ qint64 filePos;
/**
* Name of the section
@@ -167,7 +167,7 @@ private: /// Methods
* Sections and parameters that come after the modified parameter value are shifted and their file
* positions changed. This method updates items in the internal cache after changes to the INI file.
*/
- void updateCache(quint64 pos, qint64 diff);
+ void updateCache(qint64 pos, qint64 diff);
/**
* Looks for a section in the INI file