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
a9b4a471
Commit
a9b4a471
authored
Aug 13, 2004
by
Hans Leidekker
Committed by
Alexandre Julliard
Aug 13, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix signed/unsigned comparison warnings.
parent
0369da5c
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
14 additions
and
12 deletions
+14
-12
cdrom.c
dlls/ntdll/cdrom.c
+1
-1
directory.c
dlls/ntdll/directory.c
+3
-2
path.c
dlls/ntdll/path.c
+1
-1
reg.c
dlls/ntdll/reg.c
+1
-1
relay.c
dlls/ntdll/relay.c
+3
-3
resource.c
dlls/ntdll/resource.c
+1
-1
server.c
dlls/ntdll/server.c
+2
-1
time.c
dlls/ntdll/time.c
+1
-1
version.c
dlls/ntdll/version.c
+1
-1
No files found.
dlls/ntdll/cdrom.c
View file @
a9b4a471
...
...
@@ -283,7 +283,7 @@ static const struct iocodexs
};
static
const
char
*
iocodex
(
DWORD
code
)
{
int
i
;
unsigned
int
i
;
static
char
buffer
[
25
];
for
(
i
=
0
;
i
<
sizeof
(
iocodextable
)
/
sizeof
(
struct
iocodexs
);
i
++
)
if
(
code
==
iocodextable
[
i
].
code
)
...
...
dlls/ntdll/directory.c
View file @
a9b4a471
...
...
@@ -654,7 +654,7 @@ NTSTATUS WINAPI NtQueryDirectoryFile( HANDLE handle, HANDLE event,
{
int
cwd
,
fd
;
FILE_BOTH_DIR_INFORMATION
*
info
,
*
last_info
=
NULL
;
static
const
int
max_dir_info_size
=
sizeof
(
*
info
)
+
(
MAX_DIR_ENTRY_LEN
-
1
)
*
sizeof
(
WCHAR
);
static
const
unsigned
int
max_dir_info_size
=
sizeof
(
*
info
)
+
(
MAX_DIR_ENTRY_LEN
-
1
)
*
sizeof
(
WCHAR
);
TRACE
(
"(%p %p %p %p %p %p 0x%08lx 0x%08x 0x%08x %s 0x%08x
\n
"
,
handle
,
event
,
apc_routine
,
apc_context
,
io
,
buffer
,
...
...
@@ -966,7 +966,8 @@ static NTSTATUS get_dos_device( const WCHAR *name, UINT name_len, ANSI_STRING *u
const
char
*
config_dir
=
wine_get_config_dir
();
struct
stat
st
;
char
*
unix_name
,
*
new_name
,
*
dev
;
int
i
,
unix_len
;
unsigned
int
i
;
int
unix_len
;
/* make sure the device name is ASCII */
for
(
i
=
0
;
i
<
name_len
;
i
++
)
...
...
dlls/ntdll/path.c
View file @
a9b4a471
...
...
@@ -793,7 +793,7 @@ BOOLEAN WINAPI RtlIsNameLegalDOS8Dot3( const UNICODE_STRING *unicode,
{
static
const
char
*
illegal
=
"*?<>|
\"
+=,;[]:/
\\\345
"
;
int
dot
=
-
1
;
unsigned
int
i
;
int
i
;
char
buffer
[
12
];
OEM_STRING
oem_str
;
BOOLEAN
got_space
=
FALSE
;
...
...
dlls/ntdll/reg.c
View file @
a9b4a471
...
...
@@ -459,7 +459,7 @@ NTSTATUS WINAPI NtQueryValueKey( HKEY handle, const UNICODE_STRING *name,
{
NTSTATUS
ret
;
UCHAR
*
data_ptr
;
int
fixed_size
=
0
;
unsigned
int
fixed_size
=
0
;
TRACE
(
"(%p,%s,%d,%p,%ld)
\n
"
,
handle
,
debugstr_us
(
name
),
info_class
,
info
,
length
);
...
...
dlls/ntdll/relay.c
View file @
a9b4a471
...
...
@@ -364,7 +364,7 @@ static BOOL check_from_module( const WCHAR **includelist, const WCHAR **excludel
static
const
char
*
find_exported_name
(
HMODULE
module
,
IMAGE_EXPORT_DIRECTORY
*
exp
,
int
ordinal
)
{
int
i
;
unsigned
int
i
;
const
char
*
ret
=
NULL
;
WORD
*
ordptr
=
(
WORD
*
)((
char
*
)
module
+
exp
->
AddressOfNameOrdinals
);
...
...
@@ -738,7 +738,7 @@ void RELAY_SetupDLL( HMODULE module )
IMAGE_EXPORT_DIRECTORY
*
exports
;
DEBUG_ENTRY_POINT
*
debug
;
DWORD
*
funcs
;
int
i
;
unsigned
int
i
;
const
char
*
name
;
char
*
p
,
dllname
[
80
];
DWORD
size
;
...
...
@@ -862,7 +862,7 @@ FARPROC SNOOP_GetProcAddress( HMODULE hmod, const IMAGE_EXPORT_DIRECTORY *export
DWORD
exp_size
,
FARPROC
origfun
,
DWORD
ordinal
,
const
WCHAR
*
user
)
{
int
i
;
unsigned
int
i
;
const
char
*
ename
;
const
WORD
*
ordinals
;
const
DWORD
*
names
;
...
...
dlls/ntdll/resource.c
View file @
a9b4a471
...
...
@@ -371,7 +371,7 @@ NTSTATUS WINAPI RtlFindMessage( HMODULE hmod, ULONG type, ULONG lang,
LDR_RESOURCE_INFO
info
;
NTSTATUS
status
;
void
*
ptr
;
int
i
;
unsigned
int
i
;
info
.
Type
=
type
;
info
.
Name
=
1
;
...
...
dlls/ntdll/server.c
View file @
a9b4a471
...
...
@@ -163,7 +163,8 @@ void server_protocol_perror( const char *err )
*/
static
void
send_request
(
const
struct
__server_request_info
*
req
)
{
int
i
,
ret
;
unsigned
int
i
;
int
ret
;
if
(
!
req
->
u
.
req
.
request_header
.
request_size
)
{
...
...
dlls/ntdll/time.c
View file @
a9b4a471
...
...
@@ -735,7 +735,7 @@ static const WCHAR* TIME_GetTZAsStr (time_t utc, int bias, int dst)
{
char
psTZName
[
7
];
struct
tm
*
ptm
=
localtime
(
&
utc
);
int
i
;
unsigned
int
i
;
if
(
!
strftime
(
psTZName
,
7
,
"%Z"
,
ptm
))
return
(
NULL
);
...
...
dlls/ntdll/version.c
View file @
a9b4a471
...
...
@@ -381,7 +381,7 @@ static DWORD VERSION_GetLinkedDllVersion(void)
const
WCHAR
*
name
;
PLIST_ENTRY
mark
,
entry
;
PLDR_MODULE
mod
;
int
i
;
unsigned
int
i
;
/* First check the native dlls provided. These have to be
from one windows version */
...
...
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