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
2d7595fd
Commit
2d7595fd
authored
Jan 01, 2013
by
Andrew Talbot
Committed by
Alexandre Julliard
Jan 02, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
crypt32: Avoid signed-unsigned integer comparisons.
parent
bb7ca437
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
object.c
dlls/crypt32/object.c
+4
-4
No files found.
dlls/crypt32/object.c
View file @
2d7595fd
...
...
@@ -842,7 +842,7 @@ static BOOL CRYPT_FormatBits(BYTE bits, const struct BitToString *map,
DWORD
mapEntries
,
void
*
pbFormat
,
DWORD
*
pcbFormat
,
BOOL
*
first
)
{
DWORD
bytesNeeded
=
sizeof
(
WCHAR
);
int
i
;
unsigned
int
i
;
BOOL
ret
=
TRUE
,
localFirst
=
*
first
;
for
(
i
=
0
;
i
<
mapEntries
;
i
++
)
...
...
@@ -947,7 +947,7 @@ static BOOL WINAPI CRYPT_FormatKeyUsage(DWORD dwCertEncodingType,
else
{
static
BOOL
stringsLoaded
=
FALSE
;
int
i
;
unsigned
int
i
;
DWORD
bitStringLen
;
BOOL
first
=
TRUE
;
...
...
@@ -1866,7 +1866,7 @@ static BOOL CRYPT_FormatReason(DWORD dwFormatStrType,
static
const
WCHAR
sep
[]
=
{
','
,
' '
,
0
};
static
const
WCHAR
bitsFmt
[]
=
{
' '
,
'('
,
'%'
,
'0'
,
'2'
,
'x'
,
')'
,
0
};
static
BOOL
stringsLoaded
=
FALSE
;
int
i
,
numReasons
=
0
;
unsigned
int
i
,
numReasons
=
0
;
BOOL
ret
=
TRUE
;
DWORD
bytesNeeded
=
sizeof
(
WCHAR
);
WCHAR
bits
[
6
];
...
...
@@ -2317,7 +2317,7 @@ static BOOL WINAPI CRYPT_FormatNetscapeCertType(DWORD dwCertEncodingType,
else
{
static
BOOL
stringsLoaded
=
FALSE
;
int
i
;
unsigned
int
i
;
DWORD
bitStringLen
;
BOOL
first
=
TRUE
;
...
...
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