]> granicus.if.org Git - libvpx/commitdiff
vpx_integer.h: fix incorrect type emulation
authorJohn Koleszar <jkoleszar@google.com>
Fri, 9 Dec 2011 19:54:36 +0000 (11:54 -0800)
committerJohn Koleszar <jkoleszar@google.com>
Fri, 9 Dec 2011 19:54:40 +0000 (11:54 -0800)
The previous definition of uintptr_t was incorrect on x64 with MSVC.
Also, the ARMV6 version of int_fast16_t was defined as unsigned for
some reason. Since the fast types are currently unused, just remove
them.

Change-Id: Idd73f77a989c77feedcb4a6802ae6bd37324ed40

vpx/vpx_integer.h

index 608760f8bb4acc5f4771da053eb1e1aecd2f2478..218bca77360085309ddd7bc0975dfc36fa5ef418 100644 (file)
@@ -29,16 +29,8 @@ typedef signed __int64   int64_t;
 typedef unsigned __int64 uint64_t;
 #endif
 
-#ifdef HAVE_ARMV6
-typedef unsigned int int_fast16_t;
-#else
-typedef signed short int_fast16_t;
-#endif
-typedef signed char int_fast8_t;
-typedef unsigned char uint_fast8_t;
-
 #ifndef _UINTPTR_T_DEFINED
-typedef unsigned int   uintptr_t;
+typedef size_t uintptr_t;
 #endif
 
 #else