From 7001aa1e81a84a49ba8e97950a4694e9600fe197 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 29 Oct 2016 18:18:29 +0200 Subject: [PATCH] Try to fix VS errors about std::to_string() --- lib/analyzerinfo.cpp | 4 ++-- lib/analyzerinfo.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/analyzerinfo.cpp b/lib/analyzerinfo.cpp index e091a006d..54dc833a1 100644 --- a/lib/analyzerinfo.cpp +++ b/lib/analyzerinfo.cpp @@ -35,7 +35,7 @@ void AnalyzerInformation::close() } } -static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned int checksum, std::list *errors) +static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned long long checksum, std::list *errors) { tinyxml2::XMLDocument doc; tinyxml2::XMLError error = doc.LoadFile(analyzerInfoFile.c_str()); @@ -58,7 +58,7 @@ static bool skipAnalysis(const std::string &analyzerInfoFile, unsigned int check return true; } -bool AnalyzerInformation::analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned int checksum, std::list *errors) +bool AnalyzerInformation::analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned long long checksum, std::list *errors) { if (buildDir.empty() || sourcefile.empty()) return true; diff --git a/lib/analyzerinfo.h b/lib/analyzerinfo.h index 8a09be464..73d904168 100644 --- a/lib/analyzerinfo.h +++ b/lib/analyzerinfo.h @@ -50,7 +50,7 @@ public: /** Close current TU.analyzerinfo file */ void close(); - bool analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned int checksum, std::list *errors); + bool analyzeFile(const std::string &buildDir, const std::string &sourcefile, unsigned long long checksum, std::list *errors); void reportErr(const ErrorLogger::ErrorMessage &msg, bool verbose); void setFileInfo(const std::string &check, const std::string &fileInfo); private: