Fix hwloc narrowing warning on 32-bit architectures
commitff11a85c4e0108d10daffd6b6c7d14068e06cc7b
authorErik Lindahl <erik@kth.se>
Sun, 3 Apr 2016 12:20:07 +0000 (3 14:20 +0200)
committerRoland Schulz <roland.schulz@intel.com>
Mon, 4 Apr 2016 21:02:52 +0000 (4 23:02 +0200)
tree57ae7f85598eeeeafc2eb5fa4fd2d37812bf6e66
parentd6e35c96ceeb552afeeec4655567af2945994958
Fix hwloc narrowing warning on 32-bit architectures

hwloc always uses a 64-bit integer for cache size, while
size_t might be 32 bits on a 32-bit architecture. Since we
do not expect any 32-bit architectures to come with more
than 4GB of cache, we simply cast it explicitly to size_t.

Change-Id: I35b064de60a6b20dcf9ab6af751b4721037e271c
src/gromacs/hardware/hardwaretopology.cpp