From b5f6513520875b4b9d42e444bf411b3dc347d4d0 Mon Sep 17 00:00:00 2001 From: Markus Blatt Date: Mon, 27 Jun 2016 14:38:30 +0200 Subject: [PATCH] Use NULL instead of 0 in null comparison. --- opm/core/wells/wells.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/core/wells/wells.c b/opm/core/wells/wells.c index c986acba0..75827697f 100644 --- a/opm/core/wells/wells.c +++ b/opm/core/wells/wells.c @@ -550,7 +550,7 @@ wells_equal(const struct Wells *W1, const struct Wells *W2 , bool verbose) { return true; } - if( W1 == 0 || W2 == 0) + if( W1 == NULL || W2 == NULL) { return false; }