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
e3708a60
Commit
e3708a60
authored
Jun 27, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Jun 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Constify some variables.
parent
ff62d6cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
thread.c
dlls/ntdll/thread.c
+1
-1
virtual.c
dlls/ntdll/virtual.c
+2
-2
No files found.
dlls/ntdll/thread.c
View file @
e3708a60
...
...
@@ -131,7 +131,7 @@ static inline NTSTATUS init_teb( TEB *teb )
*
* Make sure the unicode string doesn't point beyond the end pointer
*/
static
inline
void
fix_unicode_string
(
UNICODE_STRING
*
str
,
char
*
end_ptr
)
static
inline
void
fix_unicode_string
(
UNICODE_STRING
*
str
,
c
onst
c
har
*
end_ptr
)
{
if
((
char
*
)
str
->
Buffer
>=
end_ptr
)
{
...
...
dlls/ntdll/virtual.c
View file @
e3708a60
...
...
@@ -366,9 +366,9 @@ static void add_reserved_area( void *addr, size_t size )
*
* Check if an address range goes beyond a given limit.
*/
static
inline
int
is_beyond_limit
(
void
*
addr
,
size_t
size
,
void
*
limit
)
static
inline
int
is_beyond_limit
(
const
void
*
addr
,
size_t
size
,
const
void
*
limit
)
{
return
(
limit
&&
(
addr
>=
limit
||
(
c
har
*
)
addr
+
size
>
(
char
*
)
limit
));
return
(
limit
&&
(
addr
>=
limit
||
(
c
onst
char
*
)
addr
+
size
>
(
const
char
*
)
limit
));
}
...
...
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