From 305b221cf058a3da26d1f92dabe83c6846e64d0c Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 14 Sep 2005 10:30:36 +0000 Subject: [PATCH] Get rid of another long long constant. --- dlls/quartz/memallocator.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/dlls/quartz/memallocator.c b/dlls/quartz/memallocator.c index 3bdb273810b..4019adb315f 100644 --- a/dlls/quartz/memallocator.c +++ b/dlls/quartz/memallocator.c @@ -85,11 +85,7 @@ static const IMediaSample2Vtbl StdMediaSample2_VTable; #define AM_SAMPLE2_PROP_SIZE_WRITABLE (unsigned int)(&((AM_SAMPLE2_PROPERTIES *)0)->pbBuffer) -#ifdef _I64_MAX -#define INVALID_MEDIA_TIME _I64_MAX -#else -#define INVALID_MEDIA_TIME ((long long)(~0ull >> 1)) -#endif +#define INVALID_MEDIA_TIME (((ULONGLONG)0x7fffffff << 32) | 0xffffffff) static HRESULT BaseMemAllocator_Init(HRESULT (* fnAlloc)(IMemAllocator *), HRESULT (* fnFree)(IMemAllocator *), BaseMemAllocator * pMemAlloc) {