Skip to content

Conversation

srinivasreddy
Copy link
Contributor

No description provided.

@srinivasreddy
Copy link
Contributor Author

@steveklabnik pls take a look. I intended to do clean up per crate. I hope that is Ok, rather than one gigantic PR. what say?

@steveklabnik
Copy link
Contributor

@bors: r+ rollup

Per crate is fine, it's easy to roll them up 😄

@bors
Copy link
Collaborator

bors commented Mar 11, 2016

📌 Commit bf50bd4 has been approved by steveklabnik

steveklabnik added a commit to steveklabnik/rust that referenced this pull request Mar 11, 2016
…steveklabnik

Removed integer suffixes in libsyntax crate
@@ -663,7 +663,7 @@ fn stderr_isatty() -> bool {
type DWORD = u32;
type BOOL = i32;
type HANDLE = *mut u8;
const STD_ERROR_HANDLE: DWORD = -12i32 as DWORD;
const STD_ERROR_HANDLE: DWORD = -12 as DWORD;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This suffix is necessary since DWORD is unsigned on windows. (or, I think that's the reason)

cc @retep998

http://buildbot.rust-lang.org/builders/auto-win-msvc-64-opt/builds/3376/steps/compile/logs/stdio

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, DWORD is u32 so the type has to be specified as i32 in order to specify a negative value and then cast to DWORD.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors added a commit that referenced this pull request Mar 12, 2016
Rollup of 11 pull requests

- Successful merges: #32137, #32158, #32171, #32174, #32178, #32179, #32180, #32181, #32183, #32186, #32197
- Failed merges:
@Manishearth
Copy link
Member

@bors r=steveklabnik

@bors
Copy link
Collaborator

bors commented Mar 12, 2016

📌 Commit b308ed0 has been approved by steveklabnik

Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 12, 2016
…steveklabnik

Removed integer suffixes in libsyntax crate
Manishearth added a commit to Manishearth/rust that referenced this pull request Mar 13, 2016
…steveklabnik

Removed integer suffixes in libsyntax crate
bors added a commit that referenced this pull request Mar 13, 2016
Rollup of 4 pull requests

- Successful merges: #32164, #32179, #32212, #32218
- Failed merges:
@bors bors merged commit b308ed0 into rust-lang:master Mar 13, 2016
@srinivasreddy srinivasreddy deleted the remove_int_suffix branch March 13, 2016 17:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants