Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Using size_t for table_size in surf_routing.c, in order to ensure that
authoragiersch <agiersch@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Oct 2010 12:01:09 +0000 (12:01 +0000)
committeragiersch <agiersch@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Mon, 25 Oct 2010 12:01:09 +0000 (12:01 +0000)
commitfa75d94ba41d614040bd48d4f12bafb3b19e25d9
treec673c2ca55ef3e2a5e6feae803ed9b11364d8d42
parent1a39cc6fdc908c33507b5b0f8bae61f7286fd4ca
Using size_t for table_size in surf_routing.c, in order to ensure that
(table_size*table_size) does not overflow on 64bit architectures when
table_size > 46340.

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8452 48e7efb5-ca39-0410-a469-dd3cf9ba447f
src/surf/surf_routing.c