nixpkgs/pkgs/development/tools/analysis/garcosim/tracefilegen/gcc7.patch
Andreas Rammhold 4bda3c4225
tracefilegen: 2015-11-14 -> 2017-05-13
Updated while resolving the build issue with gcc7 that is being tracked
in #31747.
2017-11-25 14:07:07 +01:00

14 lines
377 B
Diff

diff --git a/Utils/Logger.cpp b/Utils/Logger.cpp
index 747cd63..e3efdf1 100644
--- a/Utils/Logger.cpp
+++ b/Utils/Logger.cpp
@@ -29,7 +29,7 @@ Logger::Logger(char* tracepath) {
trace = fopen(tracepath, "w");
// dot file is not used, set null as default value
- dot = '\0';
+ dot = nullptr;
//dot = fopen("gcKons.dot", "w");
//fprintf(dot,"digraph G {\n");
}