Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
a1cb75e9
Commit
a1cb75e9
authored
Sep 01, 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
572c2c27
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
8 deletions
+8
-8
colordlg16.c
dlls/comdlg32/colordlg16.c
+2
-2
filedlg16.c
dlls/comdlg32/filedlg16.c
+2
-2
finddlg16.c
dlls/comdlg32/finddlg16.c
+1
-1
fontdlg16.c
dlls/comdlg32/fontdlg16.c
+2
-2
printdlg16.c
dlls/comdlg32/printdlg16.c
+1
-1
No files found.
dlls/comdlg32/colordlg16.c
View file @
a1cb75e9
...
...
@@ -400,7 +400,7 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 lpChCol )
HANDLE16
hDlgTmpl16
=
0
,
hResource16
=
0
;
HGLOBAL16
hGlobal16
=
0
;
BOOL16
bRet
=
FALSE
;
LP
C
VOID
template
;
LPVOID
template
;
FARPROC16
ptr
;
TRACE
(
"ChooseColor
\n
"
);
...
...
@@ -458,7 +458,7 @@ BOOL16 WINAPI ChooseColor16( LPCHOOSECOLOR16 lpChCol )
GlobalFree16
(
hGlobal16
);
return
FALSE
;
}
ConvertDialog32To16
(
(
LPVOID
)
template32
,
size
,
(
LPVOID
)
template
);
ConvertDialog32To16
(
template32
,
size
,
template
);
hDlgTmpl16
=
hGlobal16
;
}
...
...
dlls/comdlg32/filedlg16.c
View file @
a1cb75e9
...
...
@@ -89,7 +89,7 @@ static BOOL FD16_GetTemplate(PFD31_DATA lfs)
{
PFD16_PRIVATE
priv
=
(
PFD16_PRIVATE
)
lfs
->
private1632
;
LPOPENFILENAME16
ofn16
=
priv
->
ofn16
;
LP
C
VOID
template
;
LPVOID
template
;
HGLOBAL16
hGlobal16
=
0
;
if
(
ofn16
->
Flags
&
OFN_ENABLETEMPLATEHANDLE
)
...
...
@@ -146,7 +146,7 @@ static BOOL FD16_GetTemplate(PFD31_DATA lfs)
GlobalFree16
(
hGlobal16
);
return
FALSE
;
}
ConvertDialog32To16
(
(
LPVOID
)
template32
,
size
,
(
LPVOID
)
template
);
ConvertDialog32To16
(
template32
,
size
,
template
);
priv
->
hDlgTmpl16
=
hGlobal16
;
priv
->
hGlobal16
=
hGlobal16
;
}
...
...
dlls/comdlg32/finddlg16.c
View file @
a1cb75e9
...
...
@@ -137,7 +137,7 @@ static BOOL FINDDLG_Get16BitsTemplate(LFRPRIVATE lfr)
GlobalFree16
(
hGlobal16
);
return
FALSE
;
}
ConvertDialog32To16
(
(
LPVOID
)
template32
,
size
,
(
LPVOID
)
lfr
->
template
);
ConvertDialog32To16
(
template32
,
size
,
(
LPVOID
)
lfr
->
template
);
lfr
->
hDlgTmpl16
=
hGlobal16
;
lfr
->
hGlobal16
=
hGlobal16
;
}
...
...
dlls/comdlg32/fontdlg16.c
View file @
a1cb75e9
...
...
@@ -167,7 +167,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
HANDLE16
hDlgTmpl16
=
0
,
hResource16
=
0
;
HGLOBAL16
hGlobal16
=
0
;
BOOL16
bRet
=
FALSE
;
LP
C
VOID
template
;
LPVOID
template
;
FARPROC16
ptr
;
CHOOSEFONTW
cf32w
;
LOGFONTW
lf32w
;
...
...
@@ -241,7 +241,7 @@ BOOL16 WINAPI ChooseFont16(LPCHOOSEFONT16 lpChFont)
GlobalFree16
(
hGlobal16
);
return
FALSE
;
}
ConvertDialog32To16
(
(
LPVOID
)
template32
,
size
,
(
LPVOID
)
template
);
ConvertDialog32To16
(
template32
,
size
,
template
);
hDlgTmpl16
=
hGlobal16
;
}
...
...
dlls/comdlg32/printdlg16.c
View file @
a1cb75e9
...
...
@@ -260,7 +260,7 @@ static HGLOBAL16 PRINTDLG_Get16TemplateFrom32(LPCSTR PrintResourceName)
GlobalFree16
(
hGlobal16
);
return
0
;
}
ConvertDialog32To16
(
(
LPVOID
)
template32
,
size
,
(
LPVOID
)
template
);
ConvertDialog32To16
(
template32
,
size
,
template
);
GlobalUnlock16
(
hGlobal16
);
return
hGlobal16
;
}
...
...
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