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
bc7e51b4
Commit
bc7e51b4
authored
Oct 09, 2023
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Avoid narrowing warning in wine_dbgstr_fourcc.
parent
21e91690
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
debug.h
include/wine/debug.h
+1
-1
No files found.
include/wine/debug.h
View file @
bc7e51b4
...
...
@@ -326,7 +326,7 @@ static inline const char *wine_dbgstr_guid( const GUID *id )
static
inline
const
char
*
wine_dbgstr_fourcc
(
unsigned
int
fourcc
)
{
char
str
[
4
]
=
{
fourcc
,
fourcc
>>
8
,
fourcc
>>
16
,
fourcc
>>
24
};
char
str
[
4
]
=
{
(
char
)
fourcc
,
(
char
)(
fourcc
>>
8
),
(
char
)(
fourcc
>>
16
),
(
char
)(
fourcc
>>
24
)
};
if
(
!
fourcc
)
return
"''"
;
if
(
isprint
(
str
[
0
]
)
&&
isprint
(
str
[
1
]
)
&&
isprint
(
str
[
2
]
)
&&
isprint
(
str
[
3
]
))
...
...
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