git-svn-id: svn://scm.gforge.inria.fr/svnroot/paradiseo@2056 331e1502-861f-0410-8da2-ba01fb791d7f

This commit is contained in:
boufaras 2011-01-11 14:26:30 +00:00
commit a107e2925d

View file

@ -37,7 +37,7 @@
* @param _i an integer * @param _i an integer
*/ */
static unsigned int factorial(unsigned int i) { static int factorial(int i) {
if (i == 0) if (i == 0)
return 1; return 1;
else else
@ -50,7 +50,7 @@ static unsigned int factorial(unsigned int i) {
* @param _Kswap the number of swap * @param _Kswap the number of swap
*/ */
static unsigned int sizeMapping(unsigned int _size,unsigned int _Kswap) { static int sizeMapping(int _size,unsigned int _Kswap) {
int _sizeMapping = _size; int _sizeMapping = _size;
for (int i = _Kswap; i > 0; i--) { for (int i = _Kswap; i > 0; i--) {