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
6936bb10
Commit
6936bb10
authored
Jun 11, 2007
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 11, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ntdll: Improve the prototypes Win64 compatibility by replacing long with LONG.
parent
f44bc89b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
14 deletions
+12
-14
misc.c
dlls/ntdll/misc.c
+1
-1
string.c
dlls/ntdll/string.c
+6
-6
wcstring.c
dlls/ntdll/wcstring.c
+5
-5
win32.api
tools/winapi/win32.api
+0
-2
No files found.
dlls/ntdll/misc.c
View file @
6936bb10
...
...
@@ -149,7 +149,7 @@ int CDECL NTDLL_abs( int i )
/*********************************************************************
* labs (NTDLL.@)
*/
long
CDECL
NTDLL_labs
(
long
i
)
LONG
CDECL
NTDLL_labs
(
LONG
i
)
{
return
labs
(
i
);
}
...
...
dlls/ntdll/string.c
View file @
6936bb10
...
...
@@ -449,7 +449,7 @@ int __cdecl NTDLL_isxdigit( int c )
/*********************************************************************
* strtol (NTDLL.@)
*/
long
__cdecl
NTDLL_strtol
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
LONG
__cdecl
NTDLL_strtol
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
{
return
strtol
(
nptr
,
endptr
,
base
);
}
...
...
@@ -458,7 +458,7 @@ long __cdecl NTDLL_strtol( const char *nptr, char **endptr, int base )
/*********************************************************************
* strtoul (NTDLL.@)
*/
unsigned
long
__cdecl
NTDLL_strtoul
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
ULONG
__cdecl
NTDLL_strtoul
(
const
char
*
nptr
,
char
**
endptr
,
int
base
)
{
return
strtoul
(
nptr
,
endptr
,
base
);
}
...
...
@@ -476,7 +476,7 @@ int __cdecl NTDLL_atoi( const char *nptr )
/*********************************************************************
* atol (NTDLL.@)
*/
long
__cdecl
NTDLL_atol
(
const
char
*
nptr
)
LONG
__cdecl
NTDLL_atol
(
const
char
*
nptr
)
{
return
atol
(
nptr
);
}
...
...
@@ -497,7 +497,7 @@ long __cdecl NTDLL_atol( const char *nptr )
* - If str is NULL it crashes, as the native function does.
*/
char
*
__cdecl
_ultoa
(
unsigned
long
value
,
/* [I] Value to be converted */
ULONG
value
,
/* [I] Value to be converted */
char
*
str
,
/* [O] Destination for the converted value */
int
radix
)
/* [I] Number base for conversion */
{
...
...
@@ -539,11 +539,11 @@ char * __cdecl _ultoa(
* - If str is NULL it crashes, as the native function does.
*/
char
*
__cdecl
_ltoa
(
long
value
,
/* [I] Value to be converted */
LONG
value
,
/* [I] Value to be converted */
char
*
str
,
/* [O] Destination for the converted value */
int
radix
)
/* [I] Number base for conversion */
{
unsigned
long
val
;
ULONG
val
;
int
negative
;
char
buffer
[
33
];
char
*
pos
;
...
...
dlls/ntdll/wcstring.c
View file @
6936bb10
...
...
@@ -278,7 +278,7 @@ INT __cdecl NTDLL_mbstowcs( LPWSTR dst, LPCSTR src, INT n )
/*********************************************************************
* wcstol (NTDLL.@)
*/
long
__cdecl
NTDLL_wcstol
(
LPCWSTR
s
,
LPWSTR
*
end
,
INT
base
)
LONG
__cdecl
NTDLL_wcstol
(
LPCWSTR
s
,
LPWSTR
*
end
,
INT
base
)
{
return
strtolW
(
s
,
end
,
base
);
}
...
...
@@ -287,7 +287,7 @@ long __cdecl NTDLL_wcstol(LPCWSTR s,LPWSTR *end,INT base)
/*********************************************************************
* wcstoul (NTDLL.@)
*/
unsigned
long
__cdecl
NTDLL_wcstoul
(
LPCWSTR
s
,
LPWSTR
*
end
,
INT
base
)
ULONG
__cdecl
NTDLL_wcstoul
(
LPCWSTR
s
,
LPWSTR
*
end
,
INT
base
)
{
return
strtoulW
(
s
,
end
,
base
);
}
...
...
@@ -392,7 +392,7 @@ INT __cdecl NTDLL_iswxdigit( WCHAR wc )
* If str is NULL it just returns NULL.
*/
LPWSTR
__cdecl
_ultow
(
unsigned
long
value
,
/* [I] Value to be converted */
ULONG
value
,
/* [I] Value to be converted */
LPWSTR
str
,
/* [O] Destination for the converted value */
INT
radix
)
/* [I] Number base for conversion */
{
...
...
@@ -436,11 +436,11 @@ LPWSTR __cdecl _ultow(
* If str is NULL it just returns NULL.
*/
LPWSTR
__cdecl
_ltow
(
long
value
,
/* [I] Value to be converted */
LONG
value
,
/* [I] Value to be converted */
LPWSTR
str
,
/* [O] Destination for the converted value */
INT
radix
)
/* [I] Number base for conversion */
{
unsigned
long
val
;
ULONG
val
;
int
negative
;
WCHAR
buffer
[
33
];
PWCHAR
pos
;
...
...
tools/winapi/win32.api
View file @
6936bb10
...
...
@@ -2818,11 +2818,9 @@ ULONG
WCHAR
WORD
int
long
obj_handle_t
size_t
unsigned int
unsigned long
%long --pointer
...
...
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