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
778d5d65
Commit
778d5d65
authored
Sep 02, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Sep 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comdlg32: Cast-qual warnings fix.
parent
a1cb75e9
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
colordlg.c
dlls/comdlg32/colordlg.c
+1
-1
filedlg.c
dlls/comdlg32/filedlg.c
+1
-1
filedlg31.c
dlls/comdlg32/filedlg31.c
+3
-3
filedlgbrowser.c
dlls/comdlg32/filedlgbrowser.c
+2
-2
fontdlg.c
dlls/comdlg32/fontdlg.c
+1
-1
No files found.
dlls/comdlg32/colordlg.c
View file @
778d5d65
...
...
@@ -1344,7 +1344,7 @@ BOOL WINAPI ChooseColorA( LPCHOOSECOLORA lpChCol )
lpcc
->
lpTemplateName
=
HeapAlloc
(
GetProcessHeap
(),
0
,
len
*
sizeof
(
WCHAR
)
);
MultiByteToWideChar
(
CP_ACP
,
0
,
lpChCol
->
lpTemplateName
,
-
1
,
(
LPWSTR
)
lpcc
->
lpTemplateName
,
len
);
}
else
{
lpcc
->
lpTemplateName
=
(
LPWSTR
)
lpChCol
->
lpTemplateName
;
lpcc
->
lpTemplateName
=
(
LP
C
WSTR
)
lpChCol
->
lpTemplateName
;
}
}
...
...
dlls/comdlg32/filedlg.c
View file @
778d5d65
...
...
@@ -293,7 +293,7 @@ static BOOL WINAPI GetFileName95(FileOpenDlgInfos *fodInfos)
(
LPARAM
)
fodInfos
);
else
lRes
=
DialogBoxIndirectParamA
(
COMDLG32_hInstance
,
(
LPDLGTEMPLATEA
)
template
,
(
LP
C
DLGTEMPLATEA
)
template
,
fodInfos
->
ofnInfos
->
hwndOwner
,
FileOpenDlgProc95
,
(
LPARAM
)
fodInfos
);
...
...
dlls/comdlg32/filedlg31.c
View file @
778d5d65
...
...
@@ -167,7 +167,7 @@ static BOOL FD31_ScanDir(HWND hWnd, LPWSTR newPath)
* FD31_GetFileType [internal]
*/
static
LP
WSTR
FD31_GetFileType
(
LPWSTR
cfptr
,
LPWSTR
fptr
,
WORD
index
)
static
LP
CWSTR
FD31_GetFileType
(
LPCWSTR
cfptr
,
LPCWSTR
fptr
,
const
WORD
index
)
{
int
n
,
i
;
i
=
0
;
...
...
@@ -187,7 +187,7 @@ static LPWSTR FD31_GetFileType(LPWSTR cfptr, LPWSTR fptr, WORD index)
return
fptr
;
fptr
+=
lstrlenW
(
fptr
)
+
1
;
}
return
(
LPWSTR
)
FILE_star
;
/* FIXME */
return
FILE_star
;
/* FIXME */
}
/***********************************************************************
...
...
@@ -743,7 +743,7 @@ void FD31_MapOfnStructA(const LPOPENFILENAMEA ofnA, LPOPENFILENAMEW ofnW, BOOL o
ofnW
->
lpTemplateName
=
usBuffer
.
Buffer
;
}
else
/* numbered resource */
ofnW
->
lpTemplateName
=
(
LPWSTR
)
ofnA
->
lpTemplateName
;
ofnW
->
lpTemplateName
=
(
LP
C
WSTR
)
ofnA
->
lpTemplateName
;
}
}
...
...
dlls/comdlg32/filedlgbrowser.c
View file @
778d5d65
...
...
@@ -389,7 +389,7 @@ static HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
}
/* create an absolute pidl */
pidlTmp
=
COMDLG32_PIDL_ILCombine
(
fodInfos
->
ShellInfos
.
pidlAbsCurrent
,
(
LPITEMIDLIST
)
pidl
);
(
LP
C
ITEMIDLIST
)
pidl
);
}
else
if
(
wFlags
&
SBSP_PARENT
)
{
...
...
@@ -401,7 +401,7 @@ static HRESULT WINAPI IShellBrowserImpl_BrowseObject(IShellBrowser *iface,
else
/* SBSP_ABSOLUTE is 0x0000 */
{
/* An absolute pidl (relative from the desktop) */
pidlTmp
=
COMDLG32_PIDL_ILClone
((
LPITEMIDLIST
)
pidl
);
pidlTmp
=
COMDLG32_PIDL_ILClone
((
LP
C
ITEMIDLIST
)
pidl
);
psfTmp
=
GetShellFolderFromPidl
(
pidlTmp
);
}
...
...
dlls/comdlg32/fontdlg.c
View file @
778d5d65
...
...
@@ -341,7 +341,7 @@ static INT WINAPI FontFamilyEnumProc(const ENUMLOGFONTEXW *lpElfex,
{
LPCFn_ENUMSTRUCT
e
;
e
=
(
LPCFn_ENUMSTRUCT
)
lParam
;
return
AddFontFamily
(
lpElfex
,
(
NEWTEXTMETRICEXW
*
)
metrics
,
return
AddFontFamily
(
lpElfex
,
(
const
NEWTEXTMETRICEXW
*
)
metrics
,
dwFontType
,
e
->
lpcf32w
,
e
->
hWnd1
,
e
);
}
...
...
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