Merge pull request #1918 from bska/printf-ptr

Format Specifier '%p' Requires Pointers to Void
This commit is contained in:
Atgeirr Flø Rasmussen 2019-06-26 18:22:51 +02:00 committed by GitHub
commit 77e7a07756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}