diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-13 10:47:49 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-13 10:47:49 +0000 |
commit | a1b42ec0f2a0e3e206fd7eb4da4321edd1956a52 (patch) | |
tree | 1e0ce77357e3973728161b3f19b9a0ca7e82e6ed /lldb/source/Host/windows/ProcessRunLock.cpp | |
parent | 28bc2f7a14c3d08fc57a28adf2d9a282d551943a (diff) | |
download | bcm5719-llvm-a1b42ec0f2a0e3e206fd7eb4da4321edd1956a52.tar.gz bcm5719-llvm-a1b42ec0f2a0e3e206fd7eb4da4321edd1956a52.zip |
Change type of a few members of a struct from unsigned to signed.
They are used in Windows APIs which expect a signed argument and
cause a build failure on Mingw.
llvm-svn: 203783
Diffstat (limited to 'lldb/source/Host/windows/ProcessRunLock.cpp')
-rw-r--r-- | lldb/source/Host/windows/ProcessRunLock.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/source/Host/windows/ProcessRunLock.cpp b/lldb/source/Host/windows/ProcessRunLock.cpp index 97ec0ebce15..25d034b605e 100644 --- a/lldb/source/Host/windows/ProcessRunLock.cpp +++ b/lldb/source/Host/windows/ProcessRunLock.cpp @@ -22,10 +22,10 @@ namespace lldb_private { typedef struct Win32RWLOCK { - unsigned long int readlockcount; + long int readlockcount; HANDLE writable; CRITICAL_SECTION writelock; - unsigned long int writelocked; + long int writelocked; } Win32RWLOCK; typedef Win32RWLOCK* PWin32RWLOCK; |