Fixed bug #2938 (compilation error)

http://code.opencv.org/issues/2938