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
91e3930c
Commit
91e3930c
authored
Oct 06, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 07, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winecfg: Cast-qual warnings fix.
parent
0f8706ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
appdefaults.c
programs/winecfg/appdefaults.c
+2
-2
drive.c
programs/winecfg/drive.c
+1
-1
No files found.
programs/winecfg/appdefaults.c
View file @
91e3930c
...
...
@@ -123,12 +123,12 @@ init_comboboxes (HWND dialog)
}
}
static
void
add_listview_item
(
HWND
listview
,
const
WCHAR
*
text
,
void
*
association
)
static
void
add_listview_item
(
HWND
listview
,
WCHAR
*
text
,
void
*
association
)
{
LVITEMW
item
;
item
.
mask
=
LVIF_TEXT
|
LVIF_PARAM
;
item
.
pszText
=
(
WCHAR
*
)
text
;
item
.
pszText
=
text
;
item
.
cchTextMax
=
lstrlenW
(
text
);
item
.
lParam
=
(
LPARAM
)
association
;
item
.
iItem
=
ListView_GetItemCount
(
listview
);
...
...
programs/winecfg/drive.c
View file @
91e3930c
...
...
@@ -139,7 +139,7 @@ static void set_drive_type( char letter, DWORD type )
else
{
if
(
typeText
)
RegSetValueEx
(
hKey
,
driveValue
,
0
,
REG_SZ
,
(
LPBYTE
)
typeText
,
strlen
(
typeText
)
+
1
);
RegSetValueEx
(
hKey
,
driveValue
,
0
,
REG_SZ
,
(
const
BYTE
*
)
typeText
,
strlen
(
typeText
)
+
1
);
else
RegDeleteValue
(
hKey
,
driveValue
);
RegCloseKey
(
hKey
);
...
...
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