diff --git a/river/debug.h b/river/debug.h index fa2de96..6710c7d 100644 --- a/river/debug.h +++ b/river/debug.h @@ -52,7 +52,7 @@ namespace river { do { \ static FILE *pointerOnFile = nullptr; \ static bool errorOpen = false; \ - if (NULL==pointerOnFile) { \ + if (pointerOnFile == nullptr) { \ RIVER_WARNING("open file '" << fileName << "' type=" << #type); \ pointerOnFile = fopen(fileName,"w"); \ if ( errorOpen == false \