Skip to content

Commit 3c0ff12

Browse files
committed
Use Rust integer types instead of libc's fixed-width types
1 parent 9ea83f9 commit 3c0ff12

File tree

1 file changed

+2
-2
lines changed
  • src/librustc_codegen_llvm/llvm

1 file changed

+2
-2
lines changed

src/librustc_codegen_llvm/llvm/ffi.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,7 @@ pub mod debuginfo {
569569
bitflags! {
570570
#[repr(transparent)]
571571
#[derive(Default)]
572-
pub struct DIFlags: ::libc::uint32_t {
572+
pub struct DIFlags: u32 {
573573
const FlagZero = 0;
574574
const FlagPrivate = 1;
575575
const FlagProtected = 2;
@@ -598,7 +598,7 @@ pub mod debuginfo {
598598
bitflags! {
599599
#[repr(transparent)]
600600
#[derive(Default)]
601-
pub struct DISPFlags: ::libc::uint32_t {
601+
pub struct DISPFlags: u32 {
602602
const SPFlagZero = 0;
603603
const SPFlagVirtual = 1;
604604
const SPFlagPureVirtual = 2;

0 commit comments

Comments
 (0)