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=87823c5ebe2ecab05a07cfdfd5165e53cb07c30d;hp=d22fe2159be12204fbf0d8944ec4e391c3b8c857;hpb=4fb23a1438393a48312088b77f662c30ac7fbf68;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