Comment on attachment 522544
Proposed upstream patch for addressing concern about jround_up() argument types.


>+#define PAD(size, align) (((size) + (align) - 1) & (~((align) - 1)))

I usually prefer functions over macros for the additional type safety
and to avoid evaluating arguments twice (e.g. PAD(x, a++))

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/612377

Title:
  [needs-packaging] libjpeg-turbo

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to