]> git.tdb.fi Git - libs/core.git/blobdiff - source/path.h
Fix compile errors on 64-bit systems
[libs/core.git] / source / path.h
index 8c24f191394e5198d14fd7222f54f3c7bf1a6df6..0b946fdcdb18bb00ab79ffe189249946fc5bc8be 100644 (file)
@@ -23,6 +23,11 @@ enum
 #endif
 };
 
+/**
+Stores a filesystem path.  Paths are always stored in a normalized form; there
+are never any "." or ".." components in the middle of the path, and relative
+paths always begin with a single "." component or a sequence ".." components.
+*/
 class Path
 {
 public:
@@ -32,7 +37,7 @@ public:
 
        private:
                const Path &path;
-               unsigned   start,end;
+               std::string::size_type start,end;
 
                Iterator(const Path &);
        public: