summaryrefslogtreecommitdiff
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2023-03-13 11:32:03 -0400
committerBrad King <brad.king@kitware.com>2023-03-13 11:32:03 -0400
commit88bc8dfc14f02ee07654c906a0e6be5d5a33b017 (patch)
tree18c68fc8328878bdf6c207f1781afb5aa40a40d7 /Source/cmMakefile.h
parentfcad8d0630036cde6e99ae600e101dbbd5646c96 (diff)
downloadcmake-88bc8dfc14f02ee07654c906a0e6be5d5a33b017.tar.gz
cmMakefile: Store recursion depth limit as size_t
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 6f04937fa2..6923a77b7b 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -1023,8 +1023,8 @@ public:
const char* sourceFilename) const;
bool IsProjectFile(const char* filename) const;
- int GetRecursionDepth() const;
- void SetRecursionDepth(int recursionDepth);
+ size_t GetRecursionDepth() const;
+ void SetRecursionDepth(size_t recursionDepth);
std::string NewDeferId() const;
bool DeferCall(std::string id, std::string fileName, cmListFileFunction lff);
@@ -1090,7 +1090,7 @@ protected:
private:
cmStateSnapshot StateSnapshot;
cmListFileBacktrace Backtrace;
- int RecursionDepth;
+ size_t RecursionDepth = 0;
struct DeferCommand
{