stagefright aacenc: Fix type definitions for 64 bit platforms
Also don't require LINUX to be defined, enable the MSVC typedefs only within _MSC_VER. This fixes a lot of warnings about dereferencing pointer 'winPtr' breaking strict aliasing rules. Change-Id: I4afbe0ed81295ebe6e5ee2c7f0fb0cc2dc83c89b
This commit is contained in:
@@ -77,12 +77,12 @@ typedef unsigned short UWord16;
|
||||
/*
|
||||
********* define 32 bit signed/unsigned types & constants
|
||||
*/
|
||||
typedef long Word32;
|
||||
typedef unsigned long UWord32;
|
||||
typedef int Word32;
|
||||
typedef unsigned int UWord32;
|
||||
|
||||
|
||||
|
||||
#ifdef LINUX
|
||||
#ifndef _MSC_VER
|
||||
typedef long long Word64;
|
||||
typedef unsigned long long UWord64;
|
||||
#else
|
||||
|
||||
Reference in New Issue
Block a user