Itseez/opencv — pull request #494 by thouis (2013-02-15 20:59:17+00:00)
Title: BUG:  Math on size_t is unsigned, so matrix.cpp:isZeroElem() was returning incorrect values.

This fix uses memcmp() and a reasonably large buffer of zeros for efficiency.