Skip to content

Commit 69ec60d

Browse files
committed
Change test to use uint64_t to support compiling for 32-bit architectures.
llvm-svn: 369034
1 parent 2ed4573 commit 69ec60d

File tree

1 file changed

+2
-2
lines changed
  • lldb/packages/Python/lldbsuite/test/lang/c/bitfields

1 file changed

+2
-2
lines changed

lldb/packages/Python/lldbsuite/test/lang/c/bitfields/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ int main (int argc, char const *argv[])
9191
packed.c = 0x7112233;
9292

9393
struct LargePackedBits {
94-
unsigned long a: 36;
95-
unsigned long b: 36;
94+
uint64_t a: 36;
95+
uint64_t b: 36;
9696
} __attribute__((packed));
9797

9898
struct LargePackedBits large_packed =

0 commit comments

Comments
 (0)