libc: (u)int => c_(u)int for consts

This commit is contained in:
Fedor Indutny 2013-06-21 16:39:37 +02:00
parent ddd6f59283
commit bc70edbb25
2 changed files with 748 additions and 713 deletions

File diff suppressed because it is too large Load Diff

View File

@ -758,7 +758,7 @@ pub fn list_dir(p: &Path) -> ~[~str] {
FindFirstFileW(
path_ptr,
::cast::transmute(wfd_ptr));
if find_handle as int != INVALID_HANDLE_VALUE {
if find_handle as libc::c_int != INVALID_HANDLE_VALUE {
let mut more_files = 1 as libc::c_int;
while more_files != 0 {
let fp_buf = rust_list_dir_wfd_fp_buf(wfd_ptr);