[Lldb-commits] [lldb] r369034 - Change test to use uint64_t to support compiling for 32-bit architectures.

Adrian Prantl via lldb-commits lldb-commits at lists.llvm.org
Thu Aug 15 11:37:11 PDT 2019


Author: adrian
Date: Thu Aug 15 11:37:11 2019
New Revision: 369034

URL: http://llvm.org/viewvc/llvm-project?rev=369034&view=rev
Log:
Change test to use uint64_t to support compiling for 32-bit architectures.

Modified:
    lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/main.c

Modified: lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/main.c
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/main.c?rev=369034&r1=369033&r2=369034&view=diff
==============================================================================
--- lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/main.c (original)
+++ lldb/trunk/packages/Python/lldbsuite/test/lang/c/bitfields/main.c Thu Aug 15 11:37:11 2019
@@ -91,8 +91,8 @@ int main (int argc, char const *argv[])
     packed.c = 0x7112233;
 
     struct LargePackedBits {
-        unsigned long a: 36;
-        unsigned long b: 36;
+        uint64_t a: 36;
+        uint64_t b: 36;
     } __attribute__((packed));
 
     struct LargePackedBits large_packed =




More information about the lldb-commits mailing list