about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/analysis/garcosim/tracefilegen/gcc7.patch
blob: 48301bbf61ad84f22b456105e8cffc1f28c85e53 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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");
 }