summaryrefslogtreecommitdiff
path: root/avmedia
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2020-11-12 13:55:28 +0100
committerStephan Bergmann <sbergman@redhat.com>2020-11-15 17:18:28 +0100
commit3f08333c2aab8da835bfbe00199e7334c4bc7153 (patch)
treec2bca76093983b4302f32e6546ae1ffa031a3f5d /avmedia
parentbbb8cbcd404e608f6016a812d47170080a4671a6 (diff)
CFDataGetLength returns CFIndex, not long
Change-Id: I341ef5abfc001e47d86a03960022b018aac8e35f Reviewed-on: https://gerrit.libreoffice.org/c/core/+/105741 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'avmedia')
-rw-r--r--avmedia/source/macavf/framegrabber.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/avmedia/source/macavf/framegrabber.mm b/avmedia/source/macavf/framegrabber.mm
index 31566bef3876..7803fa4f1063 100644
--- a/avmedia/source/macavf/framegrabber.mm
+++ b/avmedia/source/macavf/framegrabber.mm
@@ -71,7 +71,7 @@ uno::Reference< graphic::XGraphic > SAL_CALL FrameGrabber::grabFrame( double fMe
CGImageDestinationAddImage( pCGImgDest, pCGImage, nullptr );
CGImageDestinationFinalize( pCGImgDest );
CFRelease( pCGImgDest );
- const long nBitmapLen = CFDataGetLength( pCFData );
+ const CFIndex nBitmapLen = CFDataGetLength( pCFData );
UInt8 * pBitmapBytes = const_cast<UInt8 *>(CFDataGetBytePtr( pCFData ));
// convert the image into the return-value type which is a graphic::XGraphic