Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Zsolt Vadász
wine
Commits
2d7595fd
Commit
2d7595fd
authored
12 years ago
by
Andrew Talbot
Committed by
Alexandre Julliard
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
crypt32: Avoid signed-unsigned integer comparisons.
parent
bb7ca437
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/crypt32/object.c
+4
-4
4 additions, 4 deletions
dlls/crypt32/object.c
with
4 additions
and
4 deletions
dlls/crypt32/object.c
+
4
−
4
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment