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
9c78a93e
Commit
9c78a93e
authored
Sep 27, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 28, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
secur32: Cast-qual warnings fix.
parent
fead72e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
secur32.c
dlls/secur32/secur32.c
+5
-5
No files found.
dlls/secur32/secur32.c
View file @
9c78a93e
...
@@ -238,8 +238,8 @@ static void _makeFnTableA(PSecurityFunctionTableA fnTableA,
...
@@ -238,8 +238,8 @@ static void _makeFnTableA(PSecurityFunctionTableA fnTableA,
* implemented (yikes)
* implemented (yikes)
*/
*/
size_t
tableSize
=
inFnTableA
->
dwVersion
==
1
?
size_t
tableSize
=
inFnTableA
->
dwVersion
==
1
?
(
LPBYTE
)
&
inFnTableA
->
SetContextAttributesA
-
(
const
BYTE
*
)
&
inFnTableA
->
SetContextAttributesA
-
(
LPBYTE
)
inFnTableA
:
sizeof
(
SecurityFunctionTableA
);
(
const
BYTE
*
)
inFnTableA
:
sizeof
(
SecurityFunctionTableA
);
memcpy
(
fnTableA
,
inFnTableA
,
tableSize
);
memcpy
(
fnTableA
,
inFnTableA
,
tableSize
);
/* override this, since we can do it internally anyway */
/* override this, since we can do it internally anyway */
...
@@ -309,8 +309,8 @@ static void _makeFnTableW(PSecurityFunctionTableW fnTableW,
...
@@ -309,8 +309,8 @@ static void _makeFnTableW(PSecurityFunctionTableW fnTableW,
* implemented (yikes)
* implemented (yikes)
*/
*/
size_t
tableSize
=
inFnTableW
->
dwVersion
==
1
?
size_t
tableSize
=
inFnTableW
->
dwVersion
==
1
?
(
LPBYTE
)
&
inFnTableW
->
SetContextAttributesW
-
(
const
BYTE
*
)
&
inFnTableW
->
SetContextAttributesW
-
(
LPBYTE
)
inFnTableW
:
sizeof
(
SecurityFunctionTableW
);
(
const
BYTE
*
)
inFnTableW
:
sizeof
(
SecurityFunctionTableW
);
memcpy
(
fnTableW
,
inFnTableW
,
tableSize
);
memcpy
(
fnTableW
,
inFnTableW
,
tableSize
);
/* override this, since we can do it internally anyway */
/* override this, since we can do it internally anyway */
...
@@ -374,7 +374,7 @@ static void _copyPackageInfo(PSecPkgInfoW info, const SecPkgInfoA *inInfoA,
...
@@ -374,7 +374,7 @@ static void _copyPackageInfo(PSecPkgInfoW info, const SecPkgInfoA *inInfoA,
/* odd, I know, but up until Name and Comment the structures are
/* odd, I know, but up until Name and Comment the structures are
* identical
* identical
*/
*/
memcpy
(
info
,
inInfoW
?
inInfoW
:
(
PSecPkgInfoW
)
inInfoA
,
sizeof
(
*
info
));
memcpy
(
info
,
inInfoW
?
inInfoW
:
(
const
SecPkgInfoW
*
)
inInfoA
,
sizeof
(
*
info
));
if
(
inInfoW
)
if
(
inInfoW
)
{
{
info
->
Name
=
SECUR32_strdupW
(
inInfoW
->
Name
);
info
->
Name
=
SECUR32_strdupW
(
inInfoW
->
Name
);
...
...
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