Fix part of old-style casting
[alexxy/gromacs.git] / src / gromacs / selection / evaluate.cpp
index 05a5d3853758ecd80cb6d804cf0d58098e7b2e7a..79a1d1d02081fa0fdafaa70ca8873cf96fa2f46e 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * This file is part of the GROMACS molecular simulation package.
  *
- * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2009,2010,2011,2012,2013,2014,2015,2016,2017,2018, by the GROMACS development team, led by
  * Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
  * and including many others, as listed in the AUTHORS file in the
  * top-level source directory and at http://www.gromacs.org.
@@ -354,7 +354,7 @@ _gmx_sel_print_evalfunc_name(FILE *fp, gmx::sel_evalfunc evalfunc)
     }
     else
     {
-        fprintf(fp, "%p", (void*)(evalfunc));
+        fprintf(fp, "%p", reinterpret_cast<void*>(evalfunc));
     }
 }