Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 75261fa1 authored by Martin Storsjo's avatar Martin Storsjo
Browse files

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
parent b4cee0f8
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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