Fixed compilation issue in fgrid.cpp due to int/enum
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Mon, 31 Mar 2014 19:52:36 +0000 (21:52 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 31 Mar 2014 21:21:33 +0000 (23:21 +0200)
commit1abeea5e2c09f8615a3c9412704f3aeeaa3ad5ee
tree80d836fc22481330244eff04323fd7ecfcfca8f0
parentb5dd48f8a895834bf7abebd4440873ab1b2e29ee
Fixed compilation issue in fgrid.cpp due to int/enum

gcc 4.8 is somewhat more picky about enums, and this
patch fixes an issue where an enum variable was used
outside of the defined range.

Change-Id: Ibfd7720d1d3e575c45bc1d5dbd30daad6391400c
src/programs/view/fgrid.cpp