Create local round up function for jmemmgr.c so we can revert the original argument types of jround_up() without breaking the build on 64-bit Windows.

This commit is contained in:
DRC
2011-03-29 05:01:23 +00:00
parent 1fbaddde3b
commit 35acffcf0c
3 changed files with 15 additions and 6 deletions

View File

@@ -77,8 +77,8 @@ jdiv_round_up (long a, long b)
}
GLOBAL(size_t)
jround_up (size_t a, size_t b)
GLOBAL(long)
jround_up (long a, long b)
/* Compute a rounded up to next multiple of b, ie, ceil(a/b)*b */
/* Assumes a >= 0, b > 0 */
{