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
05f38321
Commit
05f38321
authored
Dec 29, 2007
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 31, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advapi32: Remove unneeded casts.
parent
1e1b29f8
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
crypt_md4.c
dlls/advapi32/crypt_md4.c
+2
-2
crypt_md5.c
dlls/advapi32/crypt_md5.c
+2
-2
No files found.
dlls/advapi32/crypt_md4.c
View file @
05f38321
...
...
@@ -58,7 +58,7 @@ static void byteReverse( unsigned char *buf, unsigned longs )
unsigned
int
t
;
do
{
t
=
(
unsigned
int
)(
(
unsigned
)
buf
[
3
]
<<
8
|
buf
[
2
])
<<
16
|
t
=
((
unsigned
)
buf
[
3
]
<<
8
|
buf
[
2
])
<<
16
|
((
unsigned
)
buf
[
1
]
<<
8
|
buf
[
0
]);
*
(
unsigned
int
*
)
buf
=
t
;
buf
+=
4
;
...
...
@@ -90,7 +90,7 @@ VOID WINAPI MD4Update( MD4_CTX *ctx, const unsigned char *buf, unsigned int len
/* Update bitcount */
t
=
ctx
->
i
[
0
];
if
((
ctx
->
i
[
0
]
=
t
+
(
(
unsigned
int
)
len
<<
3
))
<
t
)
if
((
ctx
->
i
[
0
]
=
t
+
(
len
<<
3
))
<
t
)
ctx
->
i
[
1
]
++
;
/* Carry from low to high */
ctx
->
i
[
1
]
+=
len
>>
29
;
...
...
dlls/advapi32/crypt_md5.c
View file @
05f38321
...
...
@@ -55,7 +55,7 @@ static void byteReverse( unsigned char *buf, unsigned longs )
unsigned
int
t
;
do
{
t
=
(
unsigned
int
)(
(
unsigned
)
buf
[
3
]
<<
8
|
buf
[
2
])
<<
16
|
t
=
((
unsigned
)
buf
[
3
]
<<
8
|
buf
[
2
])
<<
16
|
((
unsigned
)
buf
[
1
]
<<
8
|
buf
[
0
]);
*
(
unsigned
int
*
)
buf
=
t
;
buf
+=
4
;
...
...
@@ -87,7 +87,7 @@ VOID WINAPI MD5Update( MD5_CTX *ctx, const unsigned char *buf, unsigned int len
/* Update bitcount */
t
=
ctx
->
i
[
0
];
if
((
ctx
->
i
[
0
]
=
t
+
(
(
unsigned
int
)
len
<<
3
))
<
t
)
if
((
ctx
->
i
[
0
]
=
t
+
(
len
<<
3
))
<
t
)
ctx
->
i
[
1
]
++
;
/* Carry from low to high */
ctx
->
i
[
1
]
+=
len
>>
29
;
...
...
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