Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / tools / analysis / garcosim / tracefilegen / gcc7.patch
blob48301bbf61ad84f22b456105e8cffc1f28c85e53
1 diff --git a/Utils/Logger.cpp b/Utils/Logger.cpp
2 index 747cd63..e3efdf1 100644
3 --- a/Utils/Logger.cpp
4 +++ b/Utils/Logger.cpp
5 @@ -29,7 +29,7 @@ Logger::Logger(char* tracepath) {
6 trace = fopen(tracepath, "w");
8 // dot file is not used, set null as default value
9 - dot = '\0';
10 + dot = nullptr;
11 //dot = fopen("gcKons.dot", "w");
12 //fprintf(dot,"digraph G {\n");