X-Git-Url: http://biod.pnpi.spb.ru/gitweb/?a=blobdiff_plain;f=src%2Fgromacs%2Fgmxlib%2Fsighandler.cpp;fp=src%2Fgromacs%2Fgmxlib%2Fsighandler.cpp;h=58943ee1328ddee04a50e93599ee36d50a9ae24c;hb=ac65de032cce28672cb4e14cd9d83d853855a43a;hp=d22fe2159be12204fbf0d8944ec4e391c3b8c857;hpb=a04f855267ee04b810f645e184f75fe6b520b8af;p=alexxy%2Fgromacs.git diff --git a/src/gromacs/gmxlib/sighandler.cpp b/src/gromacs/gmxlib/sighandler.cpp index d22fe2159b..58943ee132 100644 --- a/src/gromacs/gmxlib/sighandler.cpp +++ b/src/gromacs/gmxlib/sighandler.cpp @@ -40,7 +40,7 @@ #include "config.h" -#include +#include #include "gromacs/legacyheaders/typedefs.h" #include "gromacs/utility/fatalerror.h" @@ -182,7 +182,7 @@ const char *gmx_get_signal_name(void) gmx_bool gmx_got_usr_signal(void) { #if HAVE_SIGUSR1 - gmx_bool ret = (gmx_bool)usr_condition; + gmx_bool ret = static_cast(usr_condition); usr_condition = 0; return ret; #else