opencv: Fix memcpy within C++
authorEdward Hervey <edward@centricular.com>
Fri, 11 May 2018 07:54:22 +0000 (09:54 +0200)
committerEdward Hervey <bilboed@bilboed.com>
Fri, 11 May 2018 07:54:22 +0000 (09:54 +0200)
commit45d6256dade547ffacd0dc584102dd8b9951e65c
tree345f0b8e987d8a86279f97de5e873595fc83aa7e
parent5c450c5992ca6dc7100207560224167797fe4c13
opencv: Fix memcpy within C++

Explicitly cast to void* because GCC 8 is (rightfully) upset that this is
"writing to an object of type ‘...’ with no trivial copy-assignment".

Caused by the new "class-memaccess" warning
ext/opencv/gstgrabcut.cpp