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
44feaf9b
Commit
44feaf9b
authored
Mar 07, 2012
by
Thomas Faber
Committed by
Alexandre Julliard
Mar 09, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcp60: Fix build with MSVC.
parent
94969301
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
memory.c
dlls/msvcp60/memory.c
+3
-3
No files found.
dlls/msvcp60/memory.c
View file @
44feaf9b
...
@@ -80,7 +80,7 @@ void __thiscall MSVCP_allocator_char_deallocate(void *this, char *ptr, MSVCP_siz
...
@@ -80,7 +80,7 @@ void __thiscall MSVCP_allocator_char_deallocate(void *this, char *ptr, MSVCP_siz
DEFINE_THISCALL_WRAPPER
(
MSVCP_allocator_char_allocate
,
8
)
DEFINE_THISCALL_WRAPPER
(
MSVCP_allocator_char_allocate
,
8
)
char
*
__thiscall
MSVCP_allocator_char_allocate
(
void
*
this
,
MSVCP_size_t
count
)
char
*
__thiscall
MSVCP_allocator_char_allocate
(
void
*
this
,
MSVCP_size_t
count
)
{
{
return
MSVCRT_operator_new
(
sizeof
(
char
[
count
])
);
return
MSVCRT_operator_new
(
count
);
}
}
/* ?allocate@?$allocator@D@std@@QAEPADIPBX@Z */
/* ?allocate@?$allocator@D@std@@QAEPADIPBX@Z */
...
@@ -177,7 +177,7 @@ wchar_t* __thiscall MSVCP_allocator_wchar_allocate(void *this, MSVCP_size_t coun
...
@@ -177,7 +177,7 @@ wchar_t* __thiscall MSVCP_allocator_wchar_allocate(void *this, MSVCP_size_t coun
return
NULL
;
return
NULL
;
}
}
return
MSVCRT_operator_new
(
sizeof
(
wchar_t
[
count
]
));
return
MSVCRT_operator_new
(
count
*
sizeof
(
wchar_t
));
}
}
/* ?allocate@?$allocator@_W@std@@QAEPA_WIPBX@Z */
/* ?allocate@?$allocator@_W@std@@QAEPA_WIPBX@Z */
...
@@ -276,7 +276,7 @@ unsigned short* __thiscall MSVCP_allocator_short_allocate(
...
@@ -276,7 +276,7 @@ unsigned short* __thiscall MSVCP_allocator_short_allocate(
return
NULL
;
return
NULL
;
}
}
return
MSVCRT_operator_new
(
sizeof
(
unsigned
short
[
count
]
));
return
MSVCRT_operator_new
(
count
*
sizeof
(
unsigned
short
));
}
}
/* ?allocate@?$allocator@G@std@@QAEPAGIPBX@Z */
/* ?allocate@?$allocator@G@std@@QAEPAGIPBX@Z */
...
...
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