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
905821fc
Commit
905821fc
authored
Nov 29, 2022
by
Huw Davies
Committed by
Alexandre Julliard
Nov 29, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Fix -Wformat warnings on macOS.
parent
114e7269
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
env.c
dlls/ntdll/unix/env.c
+1
-1
serial.c
dlls/ntdll/unix/serial.c
+1
-1
sync.c
dlls/ntdll/unix/sync.c
+1
-1
system.c
dlls/ntdll/unix/system.c
+4
-4
No files found.
dlls/ntdll/unix/env.c
View file @
905821fc
...
...
@@ -1563,7 +1563,7 @@ static WCHAR *build_command_line( WCHAR **wargv )
*
p
=
0
;
if
(
p
-
ret
>=
32767
)
{
ERR
(
"command line too long (%
zu)
\n
"
,
p
-
ret
);
ERR
(
"command line too long (%
u)
\n
"
,
(
int
)(
p
-
ret
)
);
NtTerminateProcess
(
GetCurrentProcess
(),
1
);
}
return
ret
;
...
...
dlls/ntdll/unix/serial.c
View file @
905821fc
...
...
@@ -555,7 +555,7 @@ static NTSTATUS set_baud_rate(int fd, const SERIAL_BAUD_RATE* sbr)
}
break
;
#else
/* Don't have linux/serial.h or lack TIOCSSERIAL */
ERR
(
"baudrate %d
\n
"
,
sbr
->
BaudRate
);
ERR
(
"baudrate %d
\n
"
,
(
int
)
sbr
->
BaudRate
);
return
STATUS_NOT_SUPPORTED
;
#endif
/* Don't have linux/serial.h or lack TIOCSSERIAL */
}
...
...
dlls/ntdll/unix/sync.c
View file @
905821fc
...
...
@@ -2352,7 +2352,7 @@ static union tid_alert_entry *get_tid_alert_entry( HANDLE tid )
if
(
semaphore_create
(
mach_task_self
(),
&
sem
,
SYNC_POLICY_FIFO
,
0
))
return
NULL
;
if
(
InterlockedCompareExchange
(
(
int
*
)
&
entry
->
sem
,
sem
,
0
))
if
(
InterlockedCompareExchange
(
(
LONG
*
)
&
entry
->
sem
,
sem
,
0
))
semaphore_destroy
(
mach_task_self
(),
sem
);
}
#else
...
...
dlls/ntdll/unix/system.c
View file @
905821fc
...
...
@@ -1023,13 +1023,13 @@ static NTSTATUS create_logical_proc_info(void)
/* for 'data', max_len is the array count. for 'dataex', max_len is in bytes */
static
NTSTATUS
create_logical_proc_info
(
void
)
{
DWORD
pkgs_no
,
cores_no
,
lcpu_no
,
lcpu_per_core
,
cores_per_package
,
assoc
;
DWORD
cache_ctrs
[
10
]
=
{
0
};
unsigned
int
pkgs_no
,
cores_no
,
lcpu_no
,
lcpu_per_core
,
cores_per_package
,
assoc
;
unsigned
int
cache_ctrs
[
10
]
=
{
0
};
ULONG_PTR
all_cpus_mask
=
0
;
CACHE_DESCRIPTOR
cache
[
10
];
LONGLONG
cache_size
,
cache_line_size
,
cache_sharing
[
10
];
size_t
size
;
DWORD
p
,
i
,
j
,
k
;
unsigned
int
p
,
i
,
j
,
k
;
lcpu_no
=
peb
->
NumberOfProcessors
;
...
...
@@ -1806,7 +1806,7 @@ static NTSTATUS get_firmware_info( SYSTEM_FIRMWARE_TABLE_INFORMATION *sfti, ULON
return
ret
;
}
default
:
FIXME
(
"info_class SYSTEM_FIRMWARE_TABLE_INFORMATION provider %08x
\n
"
,
sfti
->
ProviderSignature
);
FIXME
(
"info_class SYSTEM_FIRMWARE_TABLE_INFORMATION provider %08x
\n
"
,
(
unsigned
int
)
sfti
->
ProviderSignature
);
return
STATUS_NOT_IMPLEMENTED
;
}
}
...
...
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