[trunk] Explicitely trigger issue 229, there may be an impact in code execution. The assert may get removed afterward

Update issue 229
This commit is contained in:
Mathieu Malaterre 2014-03-03 11:30:54 +00:00
parent 339952c2af
commit 16febebd28
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ Divide an integer and round upwards
@return Returns a divided by b @return Returns a divided by b
*/ */
static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) { static INLINE OPJ_INT32 opj_int_ceildiv(OPJ_INT32 a, OPJ_INT32 b) {
assert(b);
return (a + b - 1) / b; return (a + b - 1) / b;
} }