Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Move things in simgrid::mc
[simgrid.git] / src / mc / mc_unw.cpp
index 3b71d12..ab43771 100644 (file)
@@ -109,10 +109,10 @@ static void* get_reg(unw_context_t* context, unw_regnum_t regnum)
   case UNW_X86_64_R14: return &mcontext->gregs[REG_R14];
   case UNW_X86_64_R15: return &mcontext->gregs[REG_R15];
   case UNW_X86_64_RIP: return &mcontext->gregs[REG_RIP];
-  default: return NULL;
+  default: return nullptr;
   }
 #else
-  return NULL;
+  return nullptr;
 #endif
 }