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
37a62a64
Commit
37a62a64
authored
May 27, 2009
by
Michael Stefaniuc
Committed by
Alexandre Julliard
May 27, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrtd: Use size_t instead of unsigned long.
parent
23e70e00
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
7 deletions
+10
-7
debug.c
dlls/msvcrtd/debug.c
+9
-6
debug.c
dlls/msvcrtd/tests/debug.c
+1
-1
No files found.
dlls/msvcrtd/debug.c
View file @
37a62a64
...
@@ -31,16 +31,19 @@ int _crtAssertBusy = -1;
...
@@ -31,16 +31,19 @@ int _crtAssertBusy = -1;
int
_crtBreakAlloc
=
-
1
;
int
_crtBreakAlloc
=
-
1
;
int
_crtDbgFlag
=
0
;
int
_crtDbgFlag
=
0
;
extern
int
_callnewh
(
unsigned
long
);
#ifdef _WIN64
typedef
unsigned
__int64
MSVCRT_size_t
;
#else
typedef
unsigned
long
MSVCRT_size_t
;
#endif
extern
int
_callnewh
(
MSVCRT_size_t
);
/*********************************************************************
/*********************************************************************
* ??2@YAPAXIHPBDH@Z (MSVCRTD.@)
* ??2@YAPAXIHPBDH@Z (MSVCRTD.@)
*/
*/
void
*
CDECL
MSVCRTD_operator_new_dbg
(
void
*
CDECL
MSVCRTD_operator_new_dbg
(
MSVCRT_size_t
nSize
,
int
nBlockUse
,
unsigned
long
nSize
,
const
char
*
szFileName
,
int
nLine
)
int
nBlockUse
,
const
char
*
szFileName
,
int
nLine
)
{
{
void
*
retval
=
NULL
;
void
*
retval
=
NULL
;
...
...
dlls/msvcrtd/tests/debug.c
View file @
37a62a64
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
/**********************************************************************/
/**********************************************************************/
static
void
*
(
*
pMSVCRTD_operator_new_dbg
)(
unsigned
long
,
int
,
const
char
*
,
int
)
=
NULL
;
static
void
*
(
*
pMSVCRTD_operator_new_dbg
)(
size_t
,
int
,
const
char
*
,
int
)
=
NULL
;
/* Some exports are only available in later versions */
/* Some exports are only available in later versions */
#define SETNOFAIL(x,y) x = (void*)GetProcAddress(hModule,y)
#define SETNOFAIL(x,y) x = (void*)GetProcAddress(hModule,y)
...
...
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