mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Merge pull request #1918 from bska/printf-ptr
Format Specifier '%p' Requires Pointers to Void
This commit is contained in:
commit
77e7a07756
@ -412,7 +412,9 @@ well_controls_equal(const struct WellControls *ctrls1, const struct WellControls
|
||||
|
||||
if (!ctrls1 || !ctrls2) {
|
||||
if (verbose)
|
||||
printf("ctrls1 %p or cntrls2 %p is NULL\n", ctrls2, ctrls2);
|
||||
printf("ctrls1 %p or cntrls2 %p is NULL\n",
|
||||
(void*) ctrls1, (void*) ctrls2);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user