[Lldb-commits] [lldb] r203783 - Change type of a few members of a struct from unsigned to signed.

Hafiz Abid Qadeer hafiz_abid at mentor.com
Thu Mar 13 03:47:49 PDT 2014


Author: abidh
Date: Thu Mar 13 05:47:49 2014
New Revision: 203783

URL: http://llvm.org/viewvc/llvm-project?rev=203783&view=rev
Log:
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.

Modified:
    lldb/trunk/source/Host/windows/ProcessRunLock.cpp

Modified: lldb/trunk/source/Host/windows/ProcessRunLock.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Host/windows/ProcessRunLock.cpp?rev=203783&r1=203782&r2=203783&view=diff
==============================================================================
--- lldb/trunk/source/Host/windows/ProcessRunLock.cpp (original)
+++ lldb/trunk/source/Host/windows/ProcessRunLock.cpp Thu Mar 13 05:47:49 2014
@@ -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;





More information about the lldb-commits mailing list