patches from fedora:

blender-2.64-64bit.patch
blender-2.64a-big-endian.patch
by Jochen@herr-schmitt.de
This commit is contained in:
Campbell Barton
2012-12-21 03:02:36 +00:00
parent b13f4e6999
commit 47a429d161
2 changed files with 2 additions and 2 deletions

View File

@@ -38,7 +38,7 @@ CCL_NAMESPACE_END
#define CUDA_VERSION 3020
#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64)
#if defined(__x86_64) || defined(AMD64) || defined(_M_AMD64) || defined(__LP64__)
typedef unsigned long long CUdeviceptr;
#else
typedef unsigned int CUdeviceptr;

View File

@@ -49,7 +49,7 @@
#ifdef __BIG_ENDIAN__
/* copied from BLI_endian_switch_inline.h */
static void invert(int *num)
static void invert(int *val)
{
int tval = *val;
*val = ((tval >> 24)) |