Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
de853e2b
Commit
de853e2b
authored
Feb 06, 2016
by
Marcus Meissner
Committed by
Alexandre Julliard
Feb 08, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Cast left shifted 1 to be ulong wide (Coverity).
Signed-off-by:
Marcus Meissner
<
marcus@jet.franken.de
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce093a2a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nt.c
dlls/ntdll/nt.c
+2
-2
No files found.
dlls/ntdll/nt.c
View file @
de853e2b
...
...
@@ -1520,7 +1520,7 @@ static NTSTATUS create_logical_proc_info(SYSTEM_LOGICAL_PROCESSOR_INFORMATION **
fclose
(
f
);
}
else
r
=
0
;
if
(
!
logical_proc_info_add_by_id
(
data
,
dataex
,
&
len
,
max_len
,
RelationProcessorPackage
,
r
,
1
<<
i
))
if
(
!
logical_proc_info_add_by_id
(
data
,
dataex
,
&
len
,
max_len
,
RelationProcessorPackage
,
r
,
(
ULONG_PTR
)
1
<<
i
))
{
fclose
(
fcpu_list
);
return
STATUS_NO_MEMORY
;
...
...
@@ -1534,7 +1534,7 @@ static NTSTATUS create_logical_proc_info(SYSTEM_LOGICAL_PROCESSOR_INFORMATION **
fclose
(
f
);
}
else
r
=
i
;
if
(
!
logical_proc_info_add_by_id
(
data
,
dataex
,
&
len
,
max_len
,
RelationProcessorCore
,
r
,
1
<<
i
))
if
(
!
logical_proc_info_add_by_id
(
data
,
dataex
,
&
len
,
max_len
,
RelationProcessorCore
,
r
,
(
ULONG_PTR
)
1
<<
i
))
{
fclose
(
fcpu_list
);
return
STATUS_NO_MEMORY
;
...
...
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