Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix 32bits builds.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 19 Nov 2017 17:03:49 +0000 (18:03 +0100)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Sun, 19 Nov 2017 17:03:49 +0000 (18:03 +0100)
src/mc/mc_global.cpp

index 06f1981..b143298 100644 (file)
@@ -148,7 +148,7 @@ void dumpStack(FILE* file, unw_cursor_t cursor)
     fprintf(file, "  %i: %s (RIP=0x%" PRIx64 " RSP=0x%" PRIx64 ")\n", nframe, realname.get(), (std::uint64_t)rip,
             (std::uint64_t)rsp);
 #else
-    fprintf(file, "  %i: %s\n", nframe, realname ? realname : name);
+    fprintf(file, "  %i: %s\n", nframe, realname.get());
 #endif
 
     ++nframe;