Fix cppcheck 1.64 warnings
[alexxy/gromacs.git] / src / gromacs / gmxana / gmx_confrms.c
index 37f90b9d08ab54fb5151dff90763bb23c0e25825..82bc68263bacef23695b0d96df1683ff6c1c1a61 100644 (file)
@@ -176,7 +176,7 @@ int find_next_match_atoms_in_res(int *i1, atom_id index1[],
     {
         if (debug)
         {
-            fprintf(debug, "{%d %d}", *i1+bFW ? dx : dy, *i2+bFW ? dy : dx );
+            fprintf(debug, "{%d %d}", *i1 + (bFW ? dx : dy), *i2 + (bFW ? dy : dx) );
         }
         if (bFW)
         {