Commit 43c9feb1 by zmo@google.com

Fix ANGLE patching/building issues.

1) Remove an empty file: this causes patch apply failures when updating WebKit side ANGLE. 2) Fix a 64-to-32 conversion issue. 3) Append a change to Tokenizer.l that's left out in a previous CL. (cpp is already updated). Review URL: https://codereview.appspot.com/7378051 git-svn-id: https://angleproject.googlecode.com/svn/trunk@1832 736b8ea6-26fd-11df-bfd4-992fa37f6226
parent 99a7f610
#define MAJOR_VERSION 1 #define MAJOR_VERSION 1
#define MINOR_VERSION 0 #define MINOR_VERSION 0
#define BUILD_VERSION 0 #define BUILD_VERSION 0
#define BUILD_REVISION 1831 #define BUILD_REVISION 1832
#define STRINGIFY(x) #x #define STRINGIFY(x) #x
#define MACRO_STRINGIFY(x) STRINGIFY(x) #define MACRO_STRINGIFY(x) STRINGIFY(x)
......
...@@ -44,8 +44,8 @@ ...@@ -44,8 +44,8 @@
typedef DWORD OS_TLSIndex; typedef DWORD OS_TLSIndex;
#define OS_INVALID_TLS_INDEX (TLS_OUT_OF_INDEXES) #define OS_INVALID_TLS_INDEX (TLS_OUT_OF_INDEXES)
#elif defined(ANGLE_OS_POSIX) #elif defined(ANGLE_OS_POSIX)
typedef unsigned int OS_TLSIndex; typedef pthread_key_t OS_TLSIndex;
#define OS_INVALID_TLS_INDEX 0xFFFFFFFF #define OS_INVALID_TLS_INDEX (static_cast<OS_TLSIndex>(-1))
#endif // ANGLE_OS_WIN #endif // ANGLE_OS_WIN
OS_TLSIndex OS_AllocTLSIndex(); OS_TLSIndex OS_AllocTLSIndex();
......
...@@ -279,9 +279,8 @@ Tokenizer::~Tokenizer() ...@@ -279,9 +279,8 @@ Tokenizer::~Tokenizer()
destroyScanner(); destroyScanner();
} }
bool Tokenizer::init(int count, const char* const string[], const int length[]) bool Tokenizer::init(size_t count, const char* const string[], const int length[])
{ {
if (count < 0) return false;
if ((count > 0) && (string == 0)) return false; if ((count > 0) && (string == 0)) return false;
mContext.input = Input(count, string, length); mContext.input = Input(count, string, length);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment