Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
d0d28b96
Commit
d0d28b96
authored
Feb 20, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Feb 21, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Avoid signed-unsigned integer comparisons.
parent
668cfb1c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
directory.c
dlls/ntdll/directory.c
+1
-1
nt.c
dlls/ntdll/nt.c
+3
-3
sync.c
dlls/ntdll/sync.c
+2
-1
No files found.
dlls/ntdll/directory.c
View file @
d0d28b96
...
...
@@ -145,7 +145,7 @@ struct file_identity
};
static
struct
file_identity
ignored_files
[
MAX_IGNORED_FILES
];
static
int
ignored_files_count
;
static
unsigned
int
ignored_files_count
;
union
file_directory_info
{
...
...
dlls/ntdll/nt.c
View file @
d0d28b96
...
...
@@ -1166,7 +1166,7 @@ void fill_cpu_info(void)
static
inline
BOOL
logical_proc_info_add_by_id
(
SYSTEM_LOGICAL_PROCESSOR_INFORMATION
*
data
,
DWORD
*
len
,
DWORD
max_len
,
LOGICAL_PROCESSOR_RELATIONSHIP
rel
,
DWORD
id
,
DWORD
proc
)
{
int
i
;
DWORD
i
;
for
(
i
=
0
;
i
<*
len
;
i
++
)
{
...
...
@@ -1192,7 +1192,7 @@ static inline BOOL logical_proc_info_add_by_id(SYSTEM_LOGICAL_PROCESSOR_INFORMAT
static
inline
BOOL
logical_proc_info_add_cache
(
SYSTEM_LOGICAL_PROCESSOR_INFORMATION
*
data
,
DWORD
*
len
,
DWORD
max_len
,
ULONG_PTR
mask
,
CACHE_DESCRIPTOR
*
cache
)
{
int
i
;
DWORD
i
;
for
(
i
=
0
;
i
<*
len
;
i
++
)
{
...
...
@@ -1891,7 +1891,7 @@ NTSTATUS WINAPI NtQuerySystemInformation(
if
(
cpus
==
0
)
{
static
int
i
=
1
;
int
n
;
unsigned
int
n
;
cpus
=
min
(
NtCurrentTeb
()
->
Peb
->
NumberOfProcessors
,
out_cpus
);
len
=
sizeof
(
SYSTEM_PROCESSOR_PERFORMANCE_INFORMATION
)
*
cpus
;
sppi
=
RtlAllocateHeap
(
GetProcessHeap
(),
0
,
len
);
...
...
dlls/ntdll/sync.c
View file @
d0d28b96
...
...
@@ -1091,7 +1091,8 @@ NTSTATUS NTDLL_wait_for_multiple_objects( UINT count, const HANDLE *handles, UIN
const
LARGE_INTEGER
*
timeout
,
HANDLE
signal_object
)
{
NTSTATUS
ret
;
int
i
,
cookie
;
UINT
i
;
int
cookie
;
BOOL
user_apc
=
FALSE
;
obj_handle_t
obj_handles
[
MAXIMUM_WAIT_OBJECTS
];
obj_handle_t
apc_handle
=
0
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment