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
e2d9ce1d
Commit
e2d9ce1d
authored
Oct 20, 2006
by
Andrew Talbot
Committed by
Alexandre Julliard
Oct 23, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comctl32: Cast-qual warnings fix.
parent
9fb58434
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
datetime.c
dlls/comctl32/datetime.c
+11
-10
No files found.
dlls/comctl32/datetime.c
View file @
e2d9ce1d
...
...
@@ -526,7 +526,8 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi
static
const
WCHAR
fld_mon
[]
=
{
'S'
,
'e'
,
'p'
,
't'
,
'e'
,
'm'
,
'b'
,
'e'
,
'r'
,
0
};
static
const
WCHAR
fld_mon3
[]
=
{
'D'
,
'e'
,
'c'
,
0
};
int
spec
;
WCHAR
buffer
[
80
],
*
bufptr
;
WCHAR
buffer
[
80
];
LPCWSTR
bufptr
;
SIZE
size
;
TRACE
(
"%d,%d
\n
"
,
infoPtr
->
nrFields
,
count
);
...
...
@@ -564,32 +565,32 @@ DATETIME_ReturnFieldWidth (DATETIME_INFO *infoPtr, HDC hdc, int count, SHORT *fi
case
TWODIGITMINUTE
:
case
TWODIGITMONTH
:
case
TWODIGITYEAR
:
bufptr
=
(
WCHAR
*
)
fld_d2W
;
bufptr
=
fld_d2W
;
break
;
case
INVALIDFULLYEAR
:
case
FULLYEAR
:
bufptr
=
(
WCHAR
*
)
fld_d4W
;
bufptr
=
fld_d4W
;
break
;
case
THREECHARDAY
:
bufptr
=
(
WCHAR
*
)
fld_day3
;
bufptr
=
fld_day3
;
break
;
case
FULLDAY
:
bufptr
=
(
WCHAR
*
)
fld_day
;
bufptr
=
fld_day
;
break
;
case
THREECHARMONTH
:
bufptr
=
(
WCHAR
*
)
fld_mon3
;
bufptr
=
fld_mon3
;
break
;
case
FULLMONTH
:
bufptr
=
(
WCHAR
*
)
fld_mon
;
bufptr
=
fld_mon
;
break
;
case
ONELETTERAMPM
:
bufptr
=
(
WCHAR
*
)
fld_am1
;
bufptr
=
fld_am1
;
break
;
case
TWOLETTERAMPM
:
bufptr
=
(
WCHAR
*
)
fld_am2
;
bufptr
=
fld_am2
;
break
;
default:
bufptr
=
(
WCHAR
*
)
fld_d1W
;
bufptr
=
fld_d1W
;
break
;
}
}
...
...
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